cmd.py 文件源码

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

项目:mpsign 作者: abrasumente233 项目源码 文件源码
def cmd():
    try:
        main(docopt(__doc__, version=__version__))
    except ImportError as e:
        # lxml or html5lib not found
        print(e.msg)
        print('After installing one of them, please try again by using `mpsign update [user]`')
    except UserNotFound as e:
        print('User not found.')
    except InvalidBDUSSException as e:
        raise e
        print('BDUSS not valid')
    except KeyboardInterrupt:
        print('Operation cancelled by user.')
    except Exception as e:
        raise e

    db.close()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号