标签:bbb rem lib direct ima order cal cti port
20170830 wxPython的简单使用
xxxxxxxxxx
app = wx.App()
xxxxxxxxxx
win = wx.Frame(None)
xxxxxxxxxx
win.Show()
xxxxxxxxxx
app.MainLoop()
import wx
app = wx.App()
win = wx.Frame(None, title="Geng‘s note", size=(425, 380))
wx.Button(win, label="Open", pos=(245, 5), size=(80, 25))
wx.Button(win, label="Save", pos=(325, 5), size=(80, 25))
wx.TextCtrl(win, pos=(5, 5), size=(240, 25))
wx.TextCtrl(win, pos=(5, 35), size=(400, 300), style=wx.TE_MULTILINE|wx.HSCROLL)
win.Show()
app.MainLoop()
标签:bbb rem lib direct ima order cal cti port
原文地址:http://www.cnblogs.com/gengwenhao/p/7465392.html