Python 팝 업 파일 열기 대화 상자

216 단어 Python로그python
import win32ui

# 0        ,1         
dlg = win32ui.CreateFileDialog(1)

#     
dlg.SetOFNInitialDir('C:/') 

#      
dlg.DoModal()

#             
filename = dlg.GetPathName()

좋은 웹페이지 즐겨찾기