Why can't I pass an argument to create this window using wxpython?
- by somefreakingguy
I am trying to learn how to make a GUI in python! Following an online tutorial, I found that the following code 'works' in creating an empty window:
import wx
from sys import argv
class bucky(wx.Frame):
def __init__(self, parent, id):
wx.Frame.__init__(self, parent, id, 'Frame aka window', size=(300, 200))
if __name__=='__main__':
…