Lave,
If you're doing this btw, you may want to look at
the curses module or urwid (3rd-party).
cheers
James
On Wed, Oct 22, 2008 at 9:17 PM, Lave <lave.wang.w@gm ail.comwrote:
--
--
-- "Problems are solved by method"
If you're doing this btw, you may want to look at
the curses module or urwid (3rd-party).
cheers
James
On Wed, Oct 22, 2008 at 9:17 PM, Lave <lave.wang.w@gm ail.comwrote:
Yes, it's what i want. Many thanks.
>
BTW,python-list 's reply is so quick. I love it. I like you all guys.
>
On 10/22/08, rishi pathak <mailmaverick66 6@gmail.comwrot e:
>
>
--
Regards
>
Lave
--
>
>
BTW,python-list 's reply is so quick. I love it. I like you all guys.
>
On 10/22/08, rishi pathak <mailmaverick66 6@gmail.comwrot e:
>The below piece of code should give you some understanding
>>
>import tty
>import sys
>tty.setraw(sys .stdin.fileno() )
>char=''
>print "Press x to exit"
>while char != 'x' :
> char = sys.stdin.read( 1)
> print "You entered : ",char
> # Your code here
>>
>>
>On Wed, Oct 22, 2008 at 2:34 PM, Lave <lave.wang.w@gm ail.comwrote:
>>
>>
>>
>>
>--
>Regards--
>Rishi Pathak
>Pune-Maharastra
>>
>>
>import tty
>import sys
>tty.setraw(sys .stdin.fileno() )
>char=''
>print "Press x to exit"
>while char != 'x' :
> char = sys.stdin.read( 1)
> print "You entered : ",char
> # Your code here
>>
>>
>On Wed, Oct 22, 2008 at 2:34 PM, Lave <lave.wang.w@gm ail.comwrote:
>>
>>Hi, all.
>>>
>>I'm a new comer. So This question maybe sutpid.:)
>>>
>>I want to write something that handle every char immediately after its
>>input. Then tehe user don't need to type [RETURN] each time. How can I
>>do this?
>>>
>>Thanks in advance.
>>>
>>>
>>--
>>Regards
>>>
>>Lave
>>--
>>http://mail.python.org/mailman/listinfo/python-list
>>>
>>>
>>I'm a new comer. So This question maybe sutpid.:)
>>>
>>I want to write something that handle every char immediately after its
>>input. Then tehe user don't need to type [RETURN] each time. How can I
>>do this?
>>>
>>Thanks in advance.
>>>
>>>
>>--
>>Regards
>>>
>>Lave
>>--
>>http://mail.python.org/mailman/listinfo/python-list
>>>
>>
>>
>--
>Regards--
>Rishi Pathak
>Pune-Maharastra
>>
>
--
Regards
>
Lave
--
>
--
--
-- "Problems are solved by method"
Comment