Hi. Is the app you are running a fruit basket sample made with wxPython? If it is, then You may not have wxPython installed, hence the errors you are getting. If this is the case, then you'll need wxPython and its runtime components to be installed. Go to www.wxpython.org and grab the wxPython app and runtime which is appropriate to your python version. Install it. Then be sure to set your environment path variable as follows, assuming that you have installed python on your C drive:
;c:\python25;c:\python25\lib;c:\python25\scripts Cheers!----- Original Message ----- From: "Jackie McBride" <abletec@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Thursday, October 16, 2008 11:34 PM 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__________ Information from ESET NOD32 Antivirus, version of virus signature database 3526 (20081016) __________The message was checked by ESET NOD32 Antivirus. http://www.eset.com
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind