Windows 2000

Emile van Sebille emile at fenx.com
Fri Feb 1 19:07:09 EST 2002


"Brian Mitchell" <bmitch at copper.net> wrote in message
news:mailman.1012607823.393.python-list at python.org...
> I tried an install of Python 2.2 on a Windows2000 box today. IDLE
> seemed to function okay but I couldn't close the command mode
> with control-Z.  Is there anything special about using Python under
> Windows2000 as compared to Windows98?  TIA.
>
If you're getting something like:

Exception in Tkinter callback
Traceback (most recent call last):
  File "F:\Python22\lib\lib-tk\Tkinter.py", line 1292, in __call__
    return apply(self.func, args)
  File "F:\PYTHON21\Tools\idle\PyShell.py", line 514, in eof_callback
    self.close()
  File "F:\PYTHON21\Tools\idle\PyShell.py", line 421, in close
    return PyShellEditorWindow.close(self)
TypeError: unbound method close() must be called with
PyShellEditorWindow instance as first argument (got PyShell instance
instead)

>>>


Take a look at sys.path for a non-python22 directory.  In my case I
found it at 'F:\\PYTHON21\\Tools\\idle' which I suspect is the problem.

I haven't fixed it though so let us know what you find out.

If you aren't getting something like the above then don't read this...
;-)


--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list