[Tutor] Linux lib path

Joson zhuchunml at gmail.com
Sat Apr 10 05:13:09 CEST 2010


Hi all,

How to append a path ("/var/myprog/src") to sys.path, but not in the dynamic
way like sys.path.apend(packpath), please?
I use debian os. and I'd tried to set the classpath in /etc/profile (export
CLASSPATH="..."), and the pythonpath too (export PYTHONPATH="..."). I found
it didn't work.

Best regards,

Joson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100410/ff481597/attachment.html>


More information about the Tutor mailing list