Weird ttk behaviour

Chris Angelico rosuav at gmail.com
Tue Sep 17 10:35:58 EDT 2013


On Wed, Sep 18, 2013 at 12:25 AM, Rotwang <sg552 at hotmail.co.uk> wrote:
> In fact, if I replace tkderp with this:
>
>
> # begin tkderp.py
>
> import tkinter as tk
>
> _root = tk.Tk()
> _root.withdraw()
>
> # end tkderp.py
>
>
> then simply importing tkderp before tkderp2 is enough to make the latter
> work properly

Nice piece of detective work! Alas, I don't know tkinter well enough
to help with the details, but this is exactly what I'd like to hear if
I were trying to pick this up and debug it :)

Tkinter experts, anywhere? Where's Ranting Rick when you need him...

ChrisA



More information about the Python-list mailing list