Automatically remove python scripts from disk after execution. Main purpose is to delete single file executables generated by PyInstaller. Deleter does not support deleting mult-file scripts.
From PyPI
pip install deleter -U
From sources
git clone https://github.com/desty2k/deleter.git
cd deleter
pip install .
import deleter
deleter.register()
# your code
import deleter
deleter.register()
# your code
# cames out that we do not need to delete app
deleter.unregister()
# executable stays on disk