Python config main