drillP68-dbftGui.py 文件源码

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

项目:Portfolio 作者: rebeccapizano 项目源码 文件源码
def onDir2(self, event):
        """
        Show the DirDialog and print the user's choice to stdout
        """
        dlg2 = wx.DirDialog(self, "Choose a directory:",
                           style=wx.DD_DEFAULT_STYLE
                           #| wx.DD_DIR_MUST_EXIST
                           #| wx.DD_CHANGE_DIR
                           )
        if dlg2.ShowModal() == wx.ID_OK:
            global dst
            dst=dlg2.GetPath()
            print 'Destination folder:', dst
        dlg2.Destroy()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号