Re: Non-blocking raw_input

2005-06-28 Thread Fredrik Lundh
Jorge Louis de Castro wrote: > I have indeed tried the msvcrt module but none of the examples given works > as described on a XP+SP2 box. what examples? how did you run the examples? (the keyboard interface functions in msvcrt only work if the program's attached to a Windows console. if you r

Re: Non-blocking raw_input

2005-06-28 Thread Jorge Louis de Castro
() ? Or use any function other than raw_input? Any code examples, pseudo-code, or documentation directions will be highly appreciated! Thanks in advance Cheers jorge >From: Peter Hansen <[EMAIL PROTECTED]> >To: python-list@python.org >Subject: Re: Non-blocking raw_input >Date

Re: Non-blocking raw_input

2005-06-27 Thread Peter Hansen
Jorge Louis de Castro wrote: > Could anyone tell me whether I can find a non blocking alternative to > raw_input that works on windows? Is there not a python way of achieving > this? Can I find it somewhere in the documentation? > Any help will be highly appreciated Depending on what your requir

Non-blocking raw_input

2005-06-27 Thread Jorge Louis de Castro
Hi, Could anyone tell me whether I can find a non blocking alternative to raw_input that works on windows? Is there not a python way of achieving this? Can I find it somewhere in the documentation? Any help will be highly appreciated Cheers j. -- http://mail.python.org/mailman/listinfo/pytho

Background thread or non-blocking raw_input

2005-06-26 Thread Jorge Louis De Castro
Hi,   I've posted this before but the answer given made use of twisted functions that do not work on windows, so i'm forced to repost. Basically, is there a way to have a thread running on the background that over rules the raw_input function? The example I'm working on is something like hav