python: Add .gitignore

This commit adds a Python .gitignore to the python/ directory, taking from the public domain gitignore file provided by GitHub1.

Previously, I saw a __pycache__ in my git status which was not nice.

  1. https://github.com/github/gitignore/blob/main/Python.gitignore

Merge request reports

Loading