python_path.py 178 Bytes
Newer Older
Sebastien Gara's avatar
Sebastien Gara committed
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/python

import os
from distutils.sysconfig import get_python_lib

python_path = get_python_lib()

f = open("python_path.tmp", "w")
f.write(str(python_path))
f.close()