logwindow.py 文件源码

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

项目:imagepy 作者: Image-Py 项目源码 文件源码
def OnOpen(self,event):
        dialog=wx.FileDialog(None,'wxpython Notebook(o)',style=wx.FD_OPEN)
        if dialog.ShowModal()==wx.ID_OK:
            self.file=dialog.GetPath()
            file=open(self.file)
            self.text.write(file.read())
            file.close()
        dialog.Destroy()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号