gsxg [EMAIL PROTECTED] wrote:
I am new to python, and have written a simple program to read a port
via telnet. I would like it to run until any key is pressed. Of
course I wouldn't mind requiring a specific keystroke in the future,
but I would think this is simpler for now.
I have used
On Aug 31, 10:28 pm, [EMAIL PROTECTED] wrote:
On Aug 31, 3:55 pm, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On Aug 31, 7:11 pm, gsxg [EMAIL PROTECTED] wrote:
Thanks,
The curses library doesn't look to helpful to me.
And yet it is.
--
Arnaud
Maybe the OP is on Windows. The docs
I am new to python, and have written a simple program to read a port
via telnet. I would like it to run until any key is pressed. Of
course I wouldn't mind requiring a specific keystroke in the future,
but I would think this is simpler for now.
I have used kbhit() and getch() many times in C,
Hello,
I am new to python, and have written a simple program to read a port
via telnet. I would like it to run until any key is pressed. Of
course I wouldn't mind requiring a specific keystroke in the future,
but I would think this is simpler for now.
I have used kbhit() and getch() many
Thanks,
The curses library doesn't look to helpful to me. However using CTRL-
C is fine and is working nicely.
BTW, it should be time.sleep(1) in the example above, instead of
just
sleep(1) (Just in case any other newbies like me read this)
Thanks again
--
On Aug 31, 7:11 pm, gsxg [EMAIL PROTECTED] wrote:
Thanks,
The curses library doesn't look to helpful to me.
And yet it is.
--
Arnaud
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 31, 11:11 am, gsxg [EMAIL PROTECTED] wrote:
Thanks,
The curses library doesn't look to helpful to me. However using CTRL-
C is fine and is working nicely.
BTW, it should be time.sleep(1) in the example above, instead of
just
sleep(1) (Just in case any other newbies like me read
On Aug 31, 3:55 pm, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On Aug 31, 7:11 pm, gsxg [EMAIL PROTECTED] wrote:
Thanks,
The curses library doesn't look to helpful to me.
And yet it is.
--
Arnaud
Maybe the OP is on Windows. The docs seem to indicate that the curses
module isn't for
In message [EMAIL PROTECTED], gsxg
wrote:
I am new to python, and have written a simple program to read a port
via telnet. I would like it to run until any key is pressed.
Did you mean telnet or did you mean local terminal? For a local
terminal, the following demo script should give you a