That means that the startup code from Gribouillis could also be written this way ...
# mystartup.py
import sys
from distutils.sysconfig import get_python_lib
sys.path.append(get_python_lib())
Well, both ways ought to work equally well.
The advantage with the code from Gribouillis is that is somewhat self-documenting.
Last edited by vegaseat; Nov 6th, 2009 at 3:17 pm.
Reputation Points: 1333
Solved Threads: 1404
DaniWeb's Hypocrite
Offline 5,792 posts
since Oct 2004