Python compilation script