Skip to content

Instantly share code, notes, and snippets.

@dentolos19
Last active August 7, 2023 15:02
Show Gist options
  • Save dentolos19/ed8a1861506988a76eb3c38934d515df to your computer and use it in GitHub Desktop.
Save dentolos19/ed8a1861506988a76eb3c38934d515df to your computer and use it in GitHub Desktop.
@echo off
cd /d %~dp0 REM change working directory to the directory of the script
pip freeze > requirements.txt
pip uninstall -y -r requirements.txt
del requirements.txt
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment