A: 

Hi Jonas,

I haven't tested since I don't have any Python/TKinter environment, but try this.

In pure Tk there's a method called "wm" to manage the windows. There you can do something like "wm withdraw .mywindow" where '.mywindow' is a toplevel.

In TkInter you should be able to do something similar to:

root = Tkinter.Tk()
root.withdraw() # won't need this

Hope it helps

Carlos Tasada
+3  A: 

Probably the vast majority of of tk-based applications place all the components in the default root window. This is the most convenient way to do it since it already exists. Choosing to hide the default window and create your own is a perfectly fine thing to do, though it requires just a tiny bit of extra work.

To answer your specific question about how to hide it, use the "withdraw()" method of the root window:

import Tkinter
root = Tk()
root.withdraw()

For what it's worth, this information is available on the Tkinter wiki

Bryan Oakley
Using the main window did the trick. Thanks!
Jonas Byström