keypressed...

gabor gabor at z10n.net
Sun Feb 9 22:30:20 EST 2003


On Mon, 2003-02-10 at 03:32, Peter Hansen wrote:
> gabor wrote:
> > 
> > i need something like this:
> > -------------------------------------------
> > while True:
> >         if keypressed():
> >                 key = getPressedKey()
> >                 dosomething(key)
> > --------------------------------------------
> > 
> > are there any functions for that ( keypressed, getpressedkey )?
> 
> When posting such questions, always include information about
> the intended platform on which you want to run the program.

sorry, linux here....

any info on that platform ?

thanks,
gabor






More information about the Python-list mailing list