subdirectories for sys.path import?
mh at pixar.com
mh at pixar.com
Thu Oct 9 19:09:32 EDT 2008
I'm currently sharing a directory on sys.path with another
group.
We don't have the option to modify sys.path.
In order to reduce conflicts between the two group's code,
installation procedures, etc, I'd like to make a subdirectory
for each group, and have each group manage their own subdirectory.
/oursharedpath/lib/python/group1
/oursharedpath/lib/python/group2
Is there a way to import a module from one of these subdirectories?
Any other more pythonic ways to approach the situation?
Many TIA!
Mark
--
Mark Harrison
Pixar Animation Studios
More information about the Python-list
mailing list