468,473 Members | 1,804 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,473 developers. It's quick & easy.

problem: saving files in IDLE


I've got a Problem when I want to save a .py file in
Idle. Most times it works, but sometimes I can't save
my file. In the "Python Shell" Window, I get the message:

Exception in Tkinter callback
Traceback (most recent call last):
"/var/tmp/python-2.2.2-build//usr/lib/python2.2/lib-tk/Tkinter.py", line
1343, in __call__
return apply(self.func, args)
File "/usr/lib/idle/IOBinding.py", line 136, in save_as
if self.writefile(filename):
File "/usr/lib/idle/IOBinding.py", line 151, in writefile
chars = str(self.text.get("1.0", "end-1c"))
UnicodeError: ASCII encoding error: ordinal not in range(128)

What can I do?

Jul 18 '05 #1
0 1266

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Florian Wellner | last post: by
2 posts views Thread by Thomas Rivas | last post: by
reply views Thread by Mark Carter | last post: by
1 post views Thread by Moosebumps | last post: by
reply views Thread by mchl gdbt | last post: by
3 posts views Thread by ChrisWinterscheid | last post: by
7 posts views Thread by siggi | last post: by
6 posts views Thread by Ivan Reborin | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.