drillP69-dbftGuiDate.py 文件源码

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

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


问题


面经


文章

微信
公众号

扫码关注公众号