Setting Environment Variables

D-Man dsh8290 at rit.edu
Wed Dec 27 00:03:40 CET 2000


More accurately the file is 

$HOME/.bashrc
or
~/.bashrc

since the location of the home directory is up to the administrator.
But David is right since you have a standard installation.

:-)
-D

On Sat, Dec 23, 2000 at 05:17:59AM -0700, David Porter wrote:
> * Ben Ocean <beno at TheWebsons.com>:
> 
> > I'm trying to set environment variables so I can define my own path for my
> > modules. My problem is I don't know where to set the PYTHONPATH. My book
> > says do it in the .cshrc file: where the heck's that? My Linux book says it
> > should be in the /home directory, but it isn't. I own this server and it's a
> > standard RedHat 6.2 install. Please advise.
> 
> What is your shell? It is probably bash. if so, add something like this to
> /home/username/.bashrc:
> 
> export PYTHONPATH=/path/to/modules
> 
> If adding more than one path put a colon between them.
> 
> 
> David
> 
> -- 
> http://www.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list