Answers for "python clear cache"

14

python clear console

import sys, os

os.system('cls')
Posted by: Guest on February-29-2020
2

pip clear cache command

pip cache purge
Posted by: Guest on September-17-2021
1

clear all python cache

find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
Posted by: Guest on January-07-2021

Python Answers by Framework

Browse Popular Code Answers by Language