Hello Jackie and listers, Hay isn't it great to know that PYTHON is more than a snake? Peter Donahue ----- Original Message ----- From: "Jackie McBride" <abletec@xxxxxxxxx> To: <programmingblind@xxxxxxxxxxxxx> Sent: Tuesday, January 29, 2008 9:39 PM Subject: Re: PYTHON question Glad I could help even though I don't know python. On 1/29/08, Peter Donahue <pdonahue1@xxxxxxxxxxxxx> wrote: > Hello Jamal and listers, > > I was able to get the program to run and hold the output on the screen > by including the raw.input line at the end of the program. It ran like a > charm from within Ed Sharp. I'm using the most current version; the one you > released about a week ago. Thanks for the help. > > Peter Donahue > > > ----- Original Message ----- > From: "Jamal Mazrui" <empower@xxxxxxxxx> > To: <programmingblind@xxxxxxxxxxxxx> > Sent: Tuesday, January 29, 2008 7:58 PM > Subject: Re: PYTHON question > > > Hi Peter, > Hi Peter, > A couple of options. One is to open a console window in the directory > containing the file. Edit the code in EdSharp and then Alt+Tab to the > command prompt to run the program. If the .py extension is associated > with python.exe, then just entering the script name should run it, e.g., > > hello.py > > A second option is to pick the Python compiler/interpreter with > Control+Shift+F5 and then execute the compile command with Control+F5. > EdSharp will speak any messages sent to standard output. If there is a > syntax error, it will also put the cursor there. > > Jamal > On Tue, 29 Jan 2008, Peter > Donahue wrote: > > > Date: Tue, 29 Jan 2008 19:38:02 -0600 > > From: Peter Donahue <pdonahue1@xxxxxxxxxxxxx> > > Reply-To: programmingblind@xxxxxxxxxxxxx > > To: programmingblind@xxxxxxxxxxxxx > > Subject: Re: PYTHON question > > > > Hello Jackie and listers, > > > > Can you send me the exact syntax to use in the input statement. I > tried > > putting the word input before and after the line of code to be executed, > but > > the same thing keeps happening. Let's see if anyone else offered a fix for > > me. > > > > Peter Donahue > > > > > > ----- Original Message ----- > > From: "Jackie McBride" <abletec@xxxxxxxxx> > > To: <programmingblind@xxxxxxxxxxxxx> > > Sent: Tuesday, January 29, 2008 6:34 PM > > Subject: Re: PYTHON question > > > > > > Peter: > > > > Whenever I experience something like that, I always put in an input > > statement that waits for a keypress. > > > > On 1/29/08, Peter Donahue <pdonahue1@xxxxxxxxxxxxx> wrote: > > > Good evening everyone, > > > > > > I installed PYTHON 2.25 and have it working on one of our machines. > > I'm > > > attempting to run a small PYTHON program from within Ed Sharp. When I > > press > > > F5 the command prompt appears but quickly goes away. I'm guessing > > > thatEdSharp is Finding PYTHON, but the prompt isn't staying on the > screen > > > long enough for me to read what is being displayed. How do I cause the > > > command prompt to stay on the screen once the program executes to allow > me > > > to read what's being displayed. > > > > > > I'm using the old classic program: > > > print "Hello PYTHON." > > > > > > As my example. The prompt appears for about a second, but quickly > goes > > > away not allowing me to read what is being displayed. Do I need to add > an > > > additional line to keep that from happening? Thanks for your help. > > > > > > Peter Donahue > > > > > > > > > "I will repay you for the years the locusts have eaten" > > > Joel 2-25 > > > > > > __________ > > > View the list's information and change your settings at > > > //www.freelists.org/list/programmingblind > > > > > > > > > > > > -- > > Jackie McBride > > Please join my fight against breast cancer > > <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489> > > & Check out my homepage at: > > www.abletec.serverheaven.net > > __________ > > 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 > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > -- Jackie McBride Please join my fight against breast cancer <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489> & Check out my homepage at: www.abletec.serverheaven.net __________ 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