Clean up your working directory.
Everyone uses commands like
find . -name \*.pyc -delete
or
find . -name "*.pyc" -exec rm -f {} \;
on linux
pyclean
But I often switch me OS from Linux to Windows. Fist I would wrote different scrips, but a python package is much nicer.
Uses pip to install.
pip install pyclear
As command-line tool.
pyclear --help
or
python -m pyclear --help
As python function
from pyclean.func import cleanup
dir = '.'
args = {'cache': True, 'egg': True}
cleanup(dir, args)