File: mp.py

package info (click to toggle)
radare2 0.9.6-3.1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 17,496 kB
  • ctags: 45,959
  • sloc: ansic: 240,999; sh: 3,645; makefile: 2,520; python: 1,212; asm: 312; ruby: 214; awk: 209; perl: 188; lisp: 169; java: 23; xml: 17; php: 6
file content (6 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/usr/bin/python2
from distutils.sysconfig import get_python_lib;print(get_python_lib())
#import os,sys
#p='.'.join('/'.join(os.__file__.split('/')[:-1]).split('.')[:-1])
#try: print([x for x in sys.path if x.find(p)!=-1 and x[-9:]=="-packages"][0])
#except: print([x for x in sys.path if x[-9:]=="-packages"][0])