Emacs + py-mode + tkinter problem

Tom Locke tom at liveDELETE-MElogix.com
Thu Jul 3 09:57:10 EDT 2003


Hi All,

I'm having trouble with the python shell within emacs. It's hanging when I
use tkinter. Setup is:

Windows XP
emacs 21.3
py-mode 4.6

Recipe:
>From a python-mode buffer, launch the python shell (C-c !), then in the
shell

>>> import Tkinter
>>> root = Tkinter.Tk()
>>> 1+2

And that's all folks. I get precisely one prompt after creating the root,
and then it hangs.

I've had a trawl around and it seems a few have run into this, but so far no
fix.

One tip was try running python with -u, but then I get syntax errors with
anything I type - seems like a CR/LF issue.

Help! :(

Tom.






More information about the Python-list mailing list