Add .gitignore for Python project

Copied from
https://github.com/github/gitignore/blob/088535f046a7cd2b32397db58a841f1c2be2853e/Python.gitignore