add python file and update gitignore