搜尋此網誌

WxPython 安裝

pip3 install wxPython


Script
------------------------------------------------------------------------------------------------------------------
import wx

class bucky(wx.Frame):
    def __init__(self,parent,id):
        wx.Frame.__init__(self,parent,id,'Frame jackaitw window',size=(300,200))

if __name__ =='__main__':
    app=wx.PySimpleApp()
    frame=bucky(parent=None,id=-1)
    frame.Show()
    app.MainLoop()
------------------------------------------------------------------------------------------------------------------

 

Copyright © Jackie.Chen | Powered by Blogger | Template by 54BLOGGER | Fixed by Free Blogger Templates