I think you might need to call Tk() explicitly before invoking StringVar. Just do this: from Tkinter import * Tk() # Add this var ...
確定! 回上一頁