"james collins" <[EMAIL PROTECTED]> wrote
just wondering how to set up my env variable?
can't import scripts because my IDLE MacPython 2.5, can't find the
module scripts.
You should try setting your PYTHONPATH environment vaqriable
in your bash shell.
.profile
or
.login
are the two files that you can use and I've forgotten which is
recommended for environment variables. Both work but one
can get called multiple times if I remember correctly.
i created the file with textwrangler and stored them in my home
folder in a folder i called python, on a macbook pro running mac os
10.5.2
In bash the line should look like:
export PYTHONPATH=~/python
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor