Skip to content

Instantly share code, notes, and snippets.

@ptthisdan
Created December 23, 2021 03:16
Show Gist options
  • Save ptthisdan/90b79a341a1980b37fee641f9f0d4962 to your computer and use it in GitHub Desktop.
Save ptthisdan/90b79a341a1980b37fee641f9f0d4962 to your computer and use it in GitHub Desktop.
One Line Command to detect Python Path
python -c "import os, sys; print(os.path.dirname(sys.executable))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment