On 2 May 2006 11:04:58 -0700, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>I am trying to find a way to poll the keyboard. In my searching, I
>have found that Windows users are given the msvcrt module. Is there an
>equivilant for Unix systems?
>
>I am writing a p2p chat application, and would
I am using following code which I have found on
http://www.ibiblio.org/obp/py4fun/ few months ago. It works well for my
purposes. Another way is to use Curses library.
HTH
Petr Jakes
#!/usr/local/bin/python
#
# t t y L i n u x . p y
#
# getLookAhead reads lookahead chars from the keyboard withou
[EMAIL PROTECTED] wrote:
> I am trying to find a way to poll the keyboard. In my searching, I
> have found that Windows users are given the msvcrt module. Is there an
> equivilant for Unix systems?
>
> I am writing a p2p chat application, and would like to ideally approach
> user input in a man
I am trying to find a way to poll the keyboard. In my searching, I
have found that Windows users are given the msvcrt module. Is there an
equivilant for Unix systems?
I am writing a p2p chat application, and would like to ideally approach
user input in a manner similar to the way I am using poll