Hi,
I want to run example1.py but when executing I get a NameError: “NameError: Name ‘Testframe’ is not defined”
I have another file which is using about the same lines at the bottom and does not give an error… Class is also named Testframe
app = wx.App(False)
frame = Testframe(none)
frame.Show(True)
app.MainLoop()
What am I doing wrong?
/Rob
example1.py (1.84 KB)
RW_GUI_Plan.py (6.9 KB)
Sorry guys, I allready solved it. Now I have to get the timer working…
···
Op vrijdag 22 april 2016 12:02:14 UTC+2 schreef Rob Westein:
Hi,
I want to run example1.py but when executing I get a NameError: “NameError: Name ‘Testframe’ is not defined”
I have another file which is using about the same lines at the bottom and does not give an error… Class is also named Testframe
app = wx.App(False)
frame = Testframe(none)
frame.Show(True)
app.MainLoop()
What am I doing wrong?
/Rob
Rob Westein wrote:
frame = Testframe(none)
Just to point out that it should be None, with an upper case N.
···
--
James Scholes
http://twitter.com/JamesScholes