[Tutor] IDLE problem

Sharriff Aina NHYTRO@compuserve.com
Fri, 12 Jan 2001 04:59:16 -0500


Hi Guys!

I cut and pasted my scipt into IDLE and this is what I got:

Exception in Tkinter callback
Traceback (most recent call last):
  File "c:\python20\lib\lib-tk\Tkinter.py", line 1287, in __call__
    return apply(self.func, args)
  File "C:\PYTHON20\Tools\idle\PyShell.py", line 579, in enter_callback
    self.runit()
  File "C:\PYTHON20\Tools\idle\PyShell.py", line 598, in runit
    more =3D self.interp.runsource(line)
  File "C:\PYTHON20\Tools\idle\PyShell.py", line 183, in runsource
    return InteractiveInterpreter.runsource(self, source, filename)
  File "c:\python20\lib\code.py", line 61, in runsource
    code =3D compile_command(source, filename, symbol)
  File "c:\python20\lib\codeop.py", line 61, in compile_command
    code =3D compile(source, filename, symbol)
UnicodeError: ASCII encoding error: ordinal not in range(128)


Pasting the same script in Activestate python runs. Activestate is
comfortable, but behaves in some cases strangely; I would prefer to use
IDLE.

Any ideas?


Best regards

Sharriff