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"???????")
评论列表
文章目录