plexpy/contrib/clean_pyc.bat
2021-12-15 20:25:14 -08:00

11 lines
415 B
Batchfile
Executable File

@echo off
:: Display information
echo This script will remove *.pyc files. These files are generated by Python, but they can cause conflicts after an upgrade. It's safe to remove them, because they will be regenerated.
echo Press enter to continue, or CTRL + C to quit.
pause
cd ..\
:: Remove *.pyc files
del /S *.pyc
:: Remove __pycache__ folders
for /d /r . %%d in (__pycache__) do @if exist "%%d" rd /s /q "%%d"