IDLE : Saving script problems
ray
raynaldo.delporte at noos.fr
Sun Oct 6 06:32:03 EDT 2002
Hi !
I'm a beginner in Python. Using XP.
When starting the Python Shell, creating a new window with CTRL-N, and
writing some script, i CANNOT save it !!!
when saving, the Python Shell main window displays an error message in RED :
>>> Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python22\lib\lib-tk\Tkinter.py", line 1292, in __call__
return apply(self.func, args)
File "C:\PYTHON22\Tools\idle\IOBinding.py", line 126, in save
self.save_as(event)
File "C:\PYTHON22\Tools\idle\IOBinding.py", line 136, in save_as
if self.writefile(filename):
File "C:\PYTHON22\Tools\idle\IOBinding.py", line 154, in writefile
f.write(chars)
UnicodeError: ASCII encoding error: ordinal not in range(128)
How can i fix this problem ???
Thanx.
More information about the Python-list
mailing list