Wait for keyboard input

Gabriel Genellina gagsl-py at yahoo.com.ar
Tue Nov 7 00:10:56 CET 2006


At Monday 6/11/2006 09:58, Santosh Chikkerur wrote:

>How to use getchar( ) in python. I want to see the output of the 
>program ,step by step.
>I have given print statements in between for the results..
>Hence i would like to print the output everytime there is 
>getchar().which is the
>similar fn in python

Use raw_input() and press ENTER.

>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Python-list digest..."

Best if you follow that suggestion...


-- 
Gabriel Genellina
Softlab SRL 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Python-list mailing list