Re: I have a problem using python 2.5 from the command prompt

  • From: "Stephen S. Disbrow" <info@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 16 Oct 2008 20:35:41 -0500

Hi,
   It looks like your trying to run the script from in the interpreter

----- Original Message ----- From: "Jackie McBride" <abletec@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Thursday, October 16, 2008 10:34 AM
Subject: Re: I have a problem using python 2.5 from the command prompt


Rob:

control panel > system > advanced > set environment variable. I'd
check it as I thought the installer sets it--maybe not.

On 10/16/08, ridge007@xxxxxxxxxxx <Ridge007@xxxxxxxxxxx> wrote:
Hi everyone,
I'm using python2.5 from the command prompt. When I attemp to execute a
script I'm getting the result below. I'm assuming the interpreter isn't in
the search path. If that is the problem:
How do I set the environment variable?
below are the results of my two attempts to run a file:
py_fruit.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'py_fruit' is not defined
python py_fruit.py
File "<stdin>", line 1
python py_fruit.py
^
SyntaxError: invalid syntax
python py_fruit.py
Thanks much!
Rob!

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind




--
Change the world--1 deed at a time
Jackie McBride
Check out my homepage at:
www.abletec.serverheaven.net
& please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind




__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: