CLI.py 文件源码

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

项目:competitive-cli 作者: GDGVIT 项目源码 文件源码
def submit(probID, path=None, language=None, website=None):
    global websiteObject
    # login(website)
    result = websiteObject.submit(probID, path, language)

    if result is None:
        print("Error submitting")
        return

    table = prettytable.PrettyTable(result[0])
    for row in result[1:]:
        table.add_row(row)

    print(str(table))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号