Creation of Python file