problem: saving files in IDLE

Discussion in 'Python' started by Thomas Weber, Jun 27, 2003.

  1. Thomas Weber

    Thomas Weber Guest

    Hi,

    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):
    File
    "/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?


    Thanks,
    Tom
     
    Thomas Weber, Jun 27, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Florian Wellner

    problem: saving files in IDLE

    Florian Wellner, Jun 27, 2003, in forum: Python
    Replies:
    1
    Views:
    726
    Helmut Jarausch
    Jun 27, 2003
  2. Mark Carter

    Saving IDLE output

    Mark Carter, Sep 5, 2003, in forum: Python
    Replies:
    0
    Views:
    318
    Mark Carter
    Sep 5, 2003
  3. JohnJohnUSA
    Replies:
    1
    Views:
    326
    BartlebyScrivener
    Jul 4, 2006
  4. newb.py

    IDLE file saving problem

    newb.py, Aug 21, 2009, in forum: Python
    Replies:
    5
    Views:
    1,680
  5. Rolando
    Replies:
    3
    Views:
    86
Loading...

Share This Page