Unicode, command-line and idle
a.serrano at vielca.com
a.serrano at vielca.com
Fri Apr 7 02:27:07 EDT 2006
Martin v. Löwis wrote:
> a.serrano at vielca.com 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
Python 2.4.3
IDLE 1.1.3
Windows XP SP2
More information about the Python-list
mailing list