Re: [Tutor] Linux lib path

2010-04-13 Thread Joson
Thanks. 2010/4/13 Joson zhuchu...@gmail.com thanks a lot. you've saved my life... 2010/4/10 Chris Fuller cful...@thinkingplanet.net 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

Re: [Tutor] Linux lib path

2010-04-10 Thread Alan Gauld
Joson zhuchu...@gmail.com 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

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:

[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. Best