import os
class TestApp(wx.App):
def OnInit(self):
dlg = wx.FileDialog(None, message="열기", defaultDir=os.getcwd(), defaultFile="", wildcard="*.xls", style=wx.OPEN | wx.MULTIPLE | wx.CHANGE_DIR)
if dlg.ShowModal() == wx.ID_OK:
print dlg.GetPath()
return True
TestApp(redirect=False).MainLoop()


python 을 좋아하는 게임 프로그래머