Re: [Tutor] Linux lib path

2010-04-13 Thread Joson
Thanks. 2010/4/13 Joson > thanks a lot. you've saved my life... > > 2010/4/10 Chris Fuller > > >> I'm using Debian. Used to be etch, but I did a double dist-upgrade >> recently. >> So, whatever the current testing release is. My shell is zsh, but bash >> should >> work the same. >> >> PYTHONP

Re: [Tutor] Linux lib path

2010-04-10 Thread Chris Fuller
I'm using Debian. Used to be etch, but I did a double dist-upgrade recently. So, whatever the current testing release is. My shell is zsh, but bash should work the same. PYTHONPATH should have worked. CLASSPATH is for Java. Here's the documentation link you want: http://docs.python.org/i

Re: [Tutor] Linux lib path

2010-04-10 Thread Alan Gauld
"Joson" wrote 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. So far as I know CLASSPATH is only used by Java. PYTHONPATH should work... Does it work in your local .pro

[Tutor] Linux lib path

2010-04-09 Thread Joson
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. B