Update and rename .gitignore to .py