When uploading my project to git, I want to avoid temp files or files that would be regenerated from my project. Is _pycache_ safe to delete (or can be ignored during uploading to git) ?
Yes and yes. (Safe to delete and appropriate to add to .gitignore.)