Re: [Tutor] how to permanently add a module path

2006-12-23 Thread Alan Gauld
"Christopher Arndt" <[EMAIL PROTECTED]> wrote > Linux: > > Depends on your distribution: It depends even more on the shell you use. In csh or tcsh the file to modify is .cshrc > - Standard way would be to edit ~/.bash_profile and add e.g. I prefer to modify environment variables in .profile.

Re: [Tutor] how to permanently add a module path

2006-12-22 Thread shawn bright
thanks, i usually intend to, getting used to gmail. thanks for all the help, all working now. shawn On 12/22/06, Christopher Arndt <[EMAIL PROTECTED]> wrote: shawn bright schrieb: > ok, > i am on ubuntu and there is no /etc/profile.d directory > i put this in the /etc/environment file > > PYTHO

Re: [Tutor] how to permanently add a module path

2006-12-22 Thread Christopher Arndt
shawn bright schrieb: > ok, > i am on ubuntu and there is no /etc/profile.d directory > i put this in the /etc/environment file > > PYTHONPATH=/usr/lib/python2.4/site-packages/pivotrac > export PYTHONPATH > > but it doesn't seem to be working. > There is no master python config file somewhere whe

Re: [Tutor] how to permanently add a module path

2006-12-22 Thread Christopher Arndt
shawn bright schrieb: > lo there, > > i am working with python in ubuntu, my app has some modules that i would > like to import from anywhere. > i can sys.path.append(my_module_dir)but it only lasts as long as > that python session. > how can i add a directory to the import path permantly htt

[Tutor] how to permanently add a module path

2006-12-22 Thread shawn bright
lo there, i am working with python in ubuntu, my app has some modules that i would like to import from anywhere. i can sys.path.append(my_module_dir)but it only lasts as long as that python session. how can i add a directory to the import path permantly ? thanks