- Django 3 Web Development Cookbook
- Aidas Bendoraitis Jake Kronika
- 58字
- 2025-04-04 13:15:07
Deleting Python-compiled files
When you run your project for the first time, Python compiles all of your *.py code in bytecode-compiled files, *.pyc, which are used later for execution. Normally, when you change the *.py files, *.pyc is recompiled; however, sometimes when you switch branches or move the directories, you need to clean up the compiled files manually.