Frame not defined or Tk not found error - related to Tkinter

709
1
03-04-2011 02:02 PM
karlkliparchuk
New Contributor
Has anyone had a problem with any of their py files getting a Frame not defined or Tk not found error, when the code has no error?  I have come across 2 cases recently with this problem.  For both people if they have their code, and have zero lines of Tkinter code within, their program runs without error.  If they just enter the line of code "from Tkinter import *", they will then either get a Frame not defined or Tk not found, eventhough they have no other Tkinter code defined within their py code.  Let me know if u have similar similar problems, and how u resolved them.  Thanks.

Karl
Tags (2)
0 Kudos
1 Reply
NiklasNorrthon
Occasional Contributor III
Don't import *
0 Kudos