Python: main