Python easyGUI 文件瀏覽 顯示文件內容

1 #提供一個文件瀏覽夾。讓用戶選擇須要打開的文件,打開並顯示文件內容: 2 3 import easygui as g 4 import os 5 msg='瀏覽文件並打開' 6 title='測試' 7 default='D:\Python練習\*' 8 fileType='所有文件' 9 filePath=g.fileopenbox(msg,title,default,fi
相關文章
相關標籤/搜索