Hi Rob. You should tab to your system environment, then choose path from the drop down list, then tab to i for edit. There then should be a long line of programs whose path has already been automatically set for you during their installation. Go either to the top or end of the line, then type in your path variable, always remembering to append your variable with the semicolon. Cheers! ----- Original Message ----- From: "ridge007@xxxxxxxxxxx" <Ridge007@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Wednesday, October 22, 2008 12:32 AMSubject: Re: [SPAM] - help with error w/running python code in edSharp - Found word(s) list error in the Text body
Hi Jaffer, I edited the environment variable and added the information concerningpython as you suggested. Perhaps I added it incorrectly? In the environmentvariable dialogue I choose to "edit" field rather than the "New". Is that the proper way to add the path? Thanks, Rob!----- Original Message ----- From: <jaffar@xxxxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Tuesday, October 21, 2008 11:28 AM Subject: Re: [SPAM] - help with error w/running python code in edSharp - Found word(s) list error in the Text body Hi Rob. Did you put your python folder in your environment path? The path should point fully to your python directory, for example ;c:\python25.Also, you do need to put your pythons scripts and lib subdirectories in yourpath, so it should read ;c:\python25;c:\python25\lib;c:\python25\scripts Try this and see if it works. Cheers!----- Original Message ----- From: "ridge007@xxxxxxxxxxx" <Ridge007@xxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Tuesday, October 21, 2008 11:22 PM Subject: Re: [SPAM] - help with error w/running python code in edSharp - Found word(s) list error in the Text bodyHi 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 runfrom 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@xxxxxxxxxxxxxSubject: [SPAM] - help with error w/running python code in edSharp - Foundword(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 __________ Information from ESET NOD32 Antivirus, version of virus signature database 3541 (20081021) __________ 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__________ Information from ESET NOD32 Antivirus, version of virus signature database 3541 (20081021) __________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