Re: [Tutor] env variable

2008-06-03 Thread Steve Middendorf
> From: [EMAIL PROTECTED] > To: tutor@python.org > Date: Tue, 3 Jun 2008 15:39:18 -0400 > Subject: [Tutor] env variable > > have a question about setting up an env. variable. > i own a macbook pro laptop running mac os x 10.5.2. > i

Re: [Tutor] env variable

2008-06-03 Thread Alan Gauld
"james collins" <[EMAIL PROTECTED]> wrote home directory in a folder which i called python, my IDLE does not recognize the script which i am trying to import, here is a sample session in my IDLE: You need to set PYTHONPATH not PATH PATH tells the OS where to find executables like python PYT

[Tutor] env variable

2008-06-03 Thread james collins
have a question about setting up an env. variable. i own a macbook pro laptop running mac os x 10.5.2. i downloaded MacPython 2.5. my problem is that when i go to run a script which i have saved in my home directory in a folder which i called python, my IDLE does not recognize the script which

Re: [Tutor] env variable

2008-06-03 Thread Alan Gauld
"james collins" <[EMAIL PROTECTED]> wrote just wondering about how to set up an env variable for MacPython. You can set an env variable in your bash .profile file using export var=val where var is the name of the variable and val is its value. HTH, -- Alan Gauld Author of the Learn to P

Re: [Tutor] env variable

2008-06-02 Thread Kent Johnson
On Mon, Jun 2, 2008 at 1:03 PM, james collins <[EMAIL PROTECTED]> wrote: > How do i become a member? Just go to http://mail.python.org/mailman/listinfo/tutor and subscribe to the list. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org

[Tutor] env variable

2008-06-02 Thread james collins
just wondering about how to set up an env variable for MacPython. How do i become a member? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] env variable

2008-05-19 Thread Alan Gauld
"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 t

[Tutor] env variable

2008-05-19 Thread james collins
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. 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 _