w, the __import__ function does not
> allow me to do that.
Oops, I forgot to add that I realize that the update(vars(...)) feature
works well with the imp module too.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
llow me to do that.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
I understand that you can use the imp module to programmatically mimic
the "import xyzzy" statement.
But is there any way to programmatically mimic the "from xyzzy import
*" statment?
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
I just solved the problem myself:
I wrote:
> self.destroy()
Writing "self.master.destroy()" instead does the trick.
Sorry for the inconvenience.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
y. I thought that destroy()/quit() would completely remove
the window, but obviously I am wrong.
What should I do instead?
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> if callable(x):
Perfect. Thank you.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
that is the type
of a function.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
hn W. Shipman's "Tkinter reference: a GUI for Python"
mentions the when='tail' option.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
> Tkinter is simply not
> thread safe and generating events from another thread can trigger race
> conditions and who knows.
Does this mean that I cannot even call the main thread's after_idle
method from another thread?
--
Claus Tondering
--
http://mail.pyth
t.
Surprisingly, if I replace self.label1.grid_forget() with
self.label1.destroy(), things work well.
What can I do to call grid_forget in this event handler?
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo