wxPython Hello World
import wx
app = wx.App()
window = wx.Frame(None, title = "wxPython Frame", size = (300,200))
panel = wx.Panel(window)
label = wx.StaticText(panel, label = "Hello World", pos = (100,10))
label = wx.StaticText(panel, label = "Hello World", pos = (100,30))
window.Show(True)
app.MainLoop()
沒有留言:
張貼留言