Created
July 14, 2016 12:27
-
-
Save daybreak0804/377a88d720c013dc537b78401f3a9fa0 to your computer and use it in GitHub Desktop.
wxPython으로 여러개 파일 경로 가져오기
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wx | |
import os | |
app = wx.PySimpleApp() | |
wildcard = "Python source (*.py)|*.py|" \ | |
"Compiled Python (*.pyc)|*.pyc|" \ | |
"All files (*.*)|*.*" | |
dialog = wx.FileDialog(None, "Choose a file", os.getcwd(), "", wildcard, wx.MULTIPLE) | |
if dialog.ShowModal() == wx.ID_OK: | |
print dialog.GetPaths() | |
dialog.Destroy() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment