Create Python file