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
[color=blue][color=green][color=darkred]
>>> import Tkinter
>>> root = Tkinter.Tk()
>>> 1+2[/color][/color][/color]
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.
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
[color=blue][color=green][color=darkred]
>>> import Tkinter
>>> root = Tkinter.Tk()
>>> 1+2[/color][/color][/color]
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.
Comment