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 ascript I'm getting the result below. I'm assuming the interpreter isn't inthe 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.pyTraceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'py_fruit' is not definedpython py_fruit.pyFile "<stdin>", line 1 python py_fruit.py ^ SyntaxError: invalid syntaxpython py_fruit.pyThanks 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