[Edu-sig] Tkinter window behind IDLE under Mac OS X
Ernesto Costa
ernesto at dei.uc.pt
Wed Jan 31 01:21:10 CET 2007
Hi,
The problem is related with using IDLE because it does not uses
processes or threads. In Mac OS X I installed X11 and use DrPython
(http://drpython.sourceforge.net/) or TexMate (http://
macromates.com/). They both work well. DrPython is great for teaching
and TexMate is a terrific general editor for almost every language
(LaTeX included...) in the planet and you also call the Python
interpreter from within it.
While DrPython runs on other platforms as well TexMate is for Mac OS
X only.
Ernesto Costa
On 2007/01/30, at 22:45, Peter Drake wrote:
> Forgive me if this isn't the appropriate place to post...
>
> I'm trying to write a very simple set of graphics functions for use
> by my (non-CS-major) students. Playing with Tkinter, I wrote this:
>
> from Tkinter import *
>
> c = Canvas()
> c.pack()
> c.create_line(0, 0, 20, 30)
> mainloop()
>
> It does, as hoped, produce a window with a little diagonal line in
> it. The problem is that this window pops up BEHIND the IDLE window.
> Googling around, I've found several other people who have had this
> problem (especially under Mac OS X), but no solutions. Is there a
> workaround?
>
> I'd just as soon get rid of the "Console" window, too, but that's
> less important.
>
> Thanks in advance for any help you can offer,
>
> Peter Drake
> Assistant Professor of Computer Science
> Lewis & Clark College
> http://www.lclark.edu/~drake/
>
>
>
> _______________________________________________
> Edu-sig mailing list
> Edu-sig at python.org
> http://mail.python.org/mailman/listinfo/edu-sig
More information about the Edu-sig
mailing list