Q: saving error... in python2.0 GUI tool
Hwanjo Yu
hwanjoyu at uiuc.edu
Tue Oct 24 14:45:55 EDT 2000
Hi,
When I try to save a source file after I modify it in IDLE (Python GUI), it
generates the following error.
What is wrong?
>>> Exception in Tkinter callback
Traceback (most recent call last):
File "c:\program files\python20\lib\lib-tk\Tkinter.py", line 1287, in
__call__
return apply(self.func, args)
File "C:\PROGRA~1\Python20\Tools\idle\IOBinding.py", line 128, in save
if self.writefile(self.filename):
File "C:\PROGRA~1\Python20\Tools\idle\IOBinding.py", line 154, in
writefile
f.write(chars)
UnicodeError: ASCII encoding error: ordinal not in range(128)
More information about the Python-list
mailing list