how do I import from other directories?
Dennis Lee Bieber
wlfraed at ix.netcom.com
Tue Dec 17 15:41:24 EST 2002
Fredrik Lundh fed this fish to the penguins on Tuesday 17 December 2002
09:15 am:
>
> sys.path is a Python list, and can be manipulated from inside the
> script just like any other list.
>
Unanswered though is... If the webserver is (what is it now...),
chroot'ed?, in such a way that only the webserver's directories are
accessible then there is the possibility that access to /home is
blocked. In this case, the modules likely will have to be somewhere in
the webserver's directory system (in the same directory with the main
script, or some other /web accessible/ location.
--
> ============================================================== <
> wlfraed at ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
> wulfraed at dm.net | Bestiaria Support Staff <
> ============================================================== <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <
More information about the Python-list
mailing list