Skip to content

Instantly share code, notes, and snippets.

@burningsky250
Created April 30, 2019 06:34
Show Gist options
  • Save burningsky250/9658bab10828ff1496ccc51112edd962 to your computer and use it in GitHub Desktop.
Save burningsky250/9658bab10828ff1496ccc51112edd962 to your computer and use it in GitHub Desktop.
python get library path
import sys
import os
print os.path.join(sys.prefix, "lib","python" + sys.version[:3])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment