Thank you Fredrik. This is exactly what I was looking for.
> cannot you just insert the appropriate directory in sys.path the first > thing you do in the scripts? e.g. > > import os, sys > > lib = "lib_dev" # change this for prod/rss.py > > sys.path.insert(0, > os.path.join( > os.path.dirname(os.__file__), "site-packages", lib > )) > > import parse # picks the right one
-- http://mail.python.org/mailman/listinfo/python-list