PYTHONPATH in script
Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024
Want to load a module in your $HOME dir somewhere?
try:
import Image # http://www.pythonware.com/products/pil/
except:
import sys # Adjust path for module
sys.path.insert(0 , "/home/hendry/Image/Imaging-1.1.3/build/lib.linux-i686-2.2")
import Image