[EMAIL PROTECTED] wrote:
> This works if I use the console but gives the following error if I use
> IDLE:
> 
> Traceback (most recent call last):
>   File "C:\test.py", line 4, in ?
>     text2 = unicode(raw_input(), sys.stdin.encoding)
> AttributeError: PyShell instance has no attribute 'encoding'

What operating system and Python version are you using? This ought to
work.

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to