mzGUI_standalone.py 文件源码

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

项目:multiplierz 作者: BlaisProteomics 项目源码 文件源码
def directory_chooser(parent = None, title = None):
    try:
        dialog = wx.DirDialog()
    except wx._core.PyNoAppError:
        app = mzApp()
        app.launch()
        dialog = wx.DirDialog()

    if dialog.ShowModal() == wx.ID_OK:
        return dialog.GetPath()
    else:
        return None

#if __name__ == "__main__":
    #print "TEST MODE"
    #foo = open_filearray(None, [('Foo', ["*.xlsx", '*.features']), ('Bar', ['*.features', '*.raw'])])
    #print "DONE"
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号