ml_controlLibrary.py 文件源码

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

项目:ml_tools 作者: morganloomis 项目源码 文件源码
def ui():
    '''Launch the UI
    '''
    if not os.path.exists(REPOSITORY_PATH):
        result = mc.confirmDialog( title='Control Repository Not Found', message='Create a repository directory?', 
                                   button=['Create','Cancel'], defaultButton='Cancel', cancelButton='Cancel', dismissString='Cancel' )

        if result != 'Create':
            return None

        os.mkdir(REPOSITORY_PATH)    

    win = ControlLibraryUI()
    win.buildMainLayout()
    win.finish()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号