keypressed...
Chris Liechti
cliechti at gmx.net
Mon Feb 10 16:59:51 EST 2003
gabor <gabor at z10n.net> wrote in news:mailman.1044839433.2950.python-
list at python.org:
> hi,
>
> i need something like this:
> -------------------------------------------
> while True:
> if keypressed():
> key = getPressedKey()
> dosomething(key)
> --------------------------------------------
>
> are there any functions for that ( keypressed, getpressedkey )?
nobody yet mentioned the python FAQ...
one line url:
http://www.python.org/cgi-
bin/faqw.py?query=keypress&querytype=simple&casefold=yes&req=search
or start here: http://www.python.org/cgi-bin/faqw.py
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list