add .gitignore, rm *.pyc

use this https://github.com/github/gitignore/blob/master/Python.gitignore as your .gitignore and put it into your root directory of this project.