this was the basic exercise in GUI programming, in here i make a empty window using wxpython
import wx
class aplikasi(wx.App):
def OnInit(self):
self.frame=wx.Frame(None)
self.frame.Show()
self.SetTopWindow(self.frame)
return True
AplikasiKu=aplikasi()
AplikasiKu.MainLoop
|
nanti hasilnya seperti gambar di bawah ini
No comments:
Post a Comment