event.py 文件源码

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

项目:V2R-biological-information 作者: joyce850722 项目源码 文件源码
def OpenfileButton(self, event):
        openFileDialog = wx.FileDialog(self, "Open", "", "", "Newick files (*.nwk)|*.nwk", wx.FD_OPEN | wx.FD_FILE_MUST_EXIST)
        openFileDialog.ShowModal()      
        self.path = openFileDialog.GetPath()

        if self.path != "":
            st = self.path.rfind("/") + 1
            self.m_staticText161.SetForegroundColour((0, 100, 0))
            self.m_staticText161.SetLabel(self.path[st :])          
            self.m_staticText16.SetLabel(u"???????")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号