newbie question about PYTHONPATH
Panupat Chongstitwattana
panupatc at gmail.com
Tue Feb 15 13:12:46 EST 2011
I think the command line should look something along this line
export PYTHONPATH=$HOME/foo/prog/learning_python/:
with a colon at the end.
On Wed, Feb 16, 2011 at 12:49 AM, Tim Hanson <tjhanson at yahoo.com> wrote:
> I am to the point in _Learning_Python_ where functions are introduced.
>
> I decided to experiment by putting a function into a file and importing it
> into Idle. Of course, Idle couldn't find it, so I executed the following
> command in Bash:
>
> PYTHONPATH=/home/foo/prog/learning_python
> export PYTHONPATH
> env | grep PYTHONPATH
>
> ~$PYTHONPATH=/home/foo/prog/learning_python
>
> Idle still won't find it. I'm doing something wrong?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list