- Django 3 Web Development Cookbook
- Aidas Bendoraitis Jake Kronika
- 52字
- 2025-04-04 13:15:07
How to do it...
- Add this alias at the end of .bash_profile, as follows:
# ~/.bash_profile
alias delpyc='
find . -name "*.py[co]" -delete
find . -type d -name "__pycache__" -delete'
- Now, to clean the Python-compiled files, go to your project directory and type the following command on the command line:
(env)$ delpyc