Re: [SPAM] - help with error w/running python code in edSharp - Found word(s) list error in the Text body

  • From: "ridge007@xxxxxxxxxxx" <Ridge007@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 21 Oct 2008 11:22:36 -0400

Hi Rodney,
I did:
cd python25. the system couldn't find this directory. I added the 
information by editing the environment variable and  backing out of the 
dialogue by pressing the ok buttons until I was out of the dialogue.
I am able to use the command prompt in my python directory sub folder since 
adding the path. However, perhaps I did something wrong as when I use the 
command prompt for windows run command, python is not showing up in the 
path.
Thanks, Rob! Any help appreciated
----- Original Message ----- 
From: "Rodney Haynie" <RodneyH@xxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Tuesday, October 21, 2008 7:21 AM
Subject: RE: [SPAM] - help with error w/running python code in edSharp - 
Found word(s) list error in the Text body


Rob,
Ok, I guess you are trying to execute the file through EdSharp.

Do me a favor and try the following.  Let's start by seeing if you can run 
from the command prompt.  Since you already added python to your Path 
environment, the following steps should work.

1. Start a Command Prompt window (all programs/accessories/command prompt).
2. Change your directory to the directory where your script resides.  For 
example if your script resides in c:\MyScripts you would type something like 
the following:
Cd MyScripts
3. Now if file of extension "py" are associated with python.exe then you can 
just type in the following and the file will execute.  Assuming the file 
name is "CoolStuff.py", type the following:
CoolStuff.py
And press enter.

If you have any error results you will see them in the command prompt 
window.
Good luck.
Rodney




-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of 
ridge007@xxxxxxxxxxx
Sent: Monday, October 20, 2008 3:54 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: [SPAM] - help with error w/running python code in edSharp - Found 
word(s) list error in the Text body

I receive the below error while attempting to run a script in python. I edit
the environment variable to add python25 to my path. Below is the error:
EdSharp - [EdSharp.tmp]
graphic 506  File Edit Delete Navigate Query Misc Window Help graphic 4
graphic 373 graphic 505
Unknown option: -l
usage: python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
Thanks Rob!

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