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

  • From: "Stephen S. Disbrow" <info@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 17 Oct 2008 22:42:50 -0500

Hi,
   You Need to EDIT the PATH variable and add the path to python to it.

Steve

----- Original Message ----- From: "ridge007@xxxxxxxxxxx" <Ridge007@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, October 17, 2008 3:43 PM
Subject: Re: I have a problem using python 2.5 from the command prompt


First I like to thank all of you that responded to my question.
I went to the command prompt and type in "path" and found that python isn't in the system path. I like to ask a few question before I add python in the
environment variable.
I went to the advance tab in the system menu.
Next I chose, "New" in the dialogue.
my questions are; what do I put in the, "name" and "value" fields?
should I type, "python" in the name field? and
for the "value" field, should I type,
;c:\python25;c:\python25\lib;c:\python25\scripts?
I believe the information above is what I should enter but, I want to be
cautious
Thanks, Rob!

----- Original Message ----- From: <jaffar@xxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Thursday, October 16, 2008 3:35 PM
Subject: Re: I have a problem using python 2.5 from the command prompt


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 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


__________ 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

__________
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: