- Django 2 Web Development Cookbook
- Jake Kronika Aidas Bendoraitis
- 57字
- 2021-06-10 19:31:28
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 switching branches or moving the directories, you need to clean up the compiled files manually.