Advertisement
caglartoklu

Location of the Python site-packages directory

Apr 21st, 2011
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. # This code displays the location of the directory "site-packages" of Python.
  2. # Run it from shell(bash or cmd.exe), not from the Python interpreter itself.
  3. python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement