Re: PYTHON question

  • From: "Jackie McBride" <abletec@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Tue, 29 Jan 2008 18:59:40 -0700

Peter:

I'm not a python programmer but check out:
http://www.thescripts.com/forum/thread600216.html
Basically he says use raw_input("prompt string")

On 1/29/08, Jamal Mazrui <empower@xxxxxxxxx> wrote:
> 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
>
>


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

Other related posts: