Create .py file