[Tutor] i can't for the life of me get "#! /usr/bin/env python"or "#!/usr/bin/python" to work

Alan Gauld alan.gauld at btinternet.com
Thu Oct 22 09:34:00 CEST 2009

"Luke Paireepinart" <rabidpoobear at gmail.com> wrote

> So what you really want to do is
> export PATH=$PATH:/home/compy/pythons
> from the command line.
> Unless I don't understand what .bashrc is for which is definitely 
> possible,
> I'm a Windoze programmer.

bashrc is the equivalent of the old DOS autoexec.bat.
It gets run every time bash starts.
So putting the PATH setting in there is perfectly sensible.

Alan G. 

More information about the Tutor mailing list