1. 程式人生 > >easygui的安裝以及簡單的使用

easygui的安裝以及簡單的使用

1.下載好easygui模組,解壓,然後放到桌面

2.開啟cmd

3.輸入cd desktop

4.輸入cd easygui模組的檔名

5.查詢到python安裝的路徑,輸入   路徑\python.exe setup.py install

重新開啟idle進行測試

                     impot sys
                     import easygui  as g 
訊息框         g.msbox('msg','title')
選擇框         choice = g.choicesbox('msg','title',choices)
繼續取消框    if  not g.ccbox('msg','title'):    
                                sys.exit(0)