That works great for me on my unixoid system.

Thanks, Fredrik.

On 02/03/06, Fredrik Lundh ([EMAIL PROTECTED]) wrote:
> since there's only one input channel for a program (stdin), and raw_input
> reads from that channel, I don't think there's a portable way to do this.
> 
...
>     # rebind sys.stdin to my tty
>     sys.stdin = open("/dev/tty")
-- 
Rory Campbell-Lange 
<[EMAIL PROTECTED]>
<www.campbell-lange.net>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to