Hi to all the python experts on the list,
We try to centralize scripts and libraries on our NAS-based NFS shares. One issue I've encountered which I'm not sure how to resolve is creating a network based python library, i.e. "/NFS/Python/" and have all of the sub directories within it be automatically traversed and searched for modules to load. At the moment any sub-directories (i.e. /NFS/Python/2.6 or /NFS/Python/common) have to be appended explicitly with sys.path.append(). From what I have read this appears to be an inherent "safety" feature of Python, but is there a way to override it without having to alter config files on each individual client machine? From a programming and maintenance standpoint it's incredibly inconvenient to have to do so many explicit appends or make constant additions to the PYTHONPATH environment variable.
Thanks,
-Dan
----------
Dan "Doc" Browne
System Administrator
Evil Eye Pictures
dbrowne@(email surpressed)
Office: (415) 777-0666 x105
|