MainFrame.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:PancakeViewer 作者: forensicmatt 项目源码 文件源码
def OpenSource(self, event):  # wxGlade: MainFrame.<event_handler>
        dlg = wx.FileDialog(
            self,
            message="Choose Image",
            wildcard="All files (*.*)|*.*",
            style=wx.OPEN | wx.CHANGE_DIR
        )

        if dlg.ShowModal() == wx.ID_OK:
            paths = dlg.GetPaths()
            for path in paths:
                self.EnumerateSource(path)
                print('           %s\n' % path)

        dlg.Destroy()
        event.Skip()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号