>> Well, but that's true as well for getchar() (at least in many cases of
>> interactive input and line buffering), so in that respect I do think
>> it's a fairly direct replacement, depending on how the OP was going to
>> use getchar() in the application.
>
> The OP said "wait for a single character input". sys.stdin.read(1)
> waits for a newline.

in the same same sentence, the OP also said that he wanted something like
C's getchar().  if you guys are going to read only parts of the original post,
you could at least try to read an entire sentence, before you start arguing...

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to