- Django 2 Web Development Cookbook
- Jake Kronika Aidas Bendoraitis
- 57字
- 2025-02-25 18:24:26
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.