Wits end

Steve Williams sandj.williams at gte.net
Sun Nov 12 11:29:16 EST 2000


Alex Martelli wrote:

> "Courageous" <jkraska1 at san.rr.com> wrote in message
> news:i9es0tgbd9e3v6pal53v06up6kq6e0s0fj at 4ax.com...
> >
> > >If I click on  hello.py the Dos window flashes for a second and is
> > >gone.
> >
> > What's happened is that the console has appeared, printed hello world,
> > and disappeared. This is a windows issue. If you want to be able to see
> > the output, you'll either have to run from a cmd prompt, or write a real
> > windows program.
>
> Or just place a rawinput at the end (with some prompt such as
> "press Enter to terminate") so the consolewindow will wait before
> disappearing.
>
> Alex

Danger Will Robinson!

If your program has a syntax error, the rawinput hack won't help with the
flashing console problem.  Check out your program in PythonWin or IDLE first
before diving headfirst into the Windows swamp.




More information about the Python-list mailing list