Skip to content

Instantly share code, notes, and snippets.

@modbender
Last active July 24, 2021 12:05
Show Gist options
  • Save modbender/350dbf30aa557fe30b3211e176487c0a to your computer and use it in GitHub Desktop.
Save modbender/350dbf30aa557fe30b3211e176487c0a to your computer and use it in GitHub Desktop.
One Line Launching Arguments for Python Project with Virtualenv Wrapper Windows Command Prompt
Rem means comments
Rem command for creating virtualenv (make the virtualenv name same as foldername
for %I in (.) do echo %~nxI & workon %~nxI & mkvirtualenv -a %cd% %~nxI
Rem launching arguments for cmd
for %I in (.) do echo %~nxI & workon %~nxI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment