Setting Environment Variables

D-Man dsh8290 at
Tue Dec 26 18:03:40 EST 2000

More accurately the file is 


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


On Sat, Dec 23, 2000 at 05:17:59AM -0700, David Porter wrote:
> * Ben Ocean <beno at>:
> > 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
> -- 

More information about the Python-list mailing list