Best to leave out those .pyc files from the repo. They represent compiled versions of the Python source, and change with Python version.
After deleting them from the repo, to avoid them sneaking in again, add a .gitignore file with the line
Newer Python puts these compiled files in a __pycache__ subdirectory, with a name that depends on the Python version, to avoid conflicts. So you could replace the above line with
or put in both lines.
Best to leave out those
.pycfiles from the repo. They represent compiled versions of the Python source, and change with Python version.After deleting them from the repo, to avoid them sneaking in again, add a
.gitignorefile with the lineNewer Python puts these compiled files in a
__pycache__subdirectory, with a name that depends on the Python version, to avoid conflicts. So you could replace the above line withor put in both lines.