INNER CODE UNIT · Python

seconds_used

TechXueXi/TechXueXi · SourcePackages/pandalearning.py:117

    seconds_used = int(time.time() - start_time)
    gl.pushprint(name+" 总计用时 " + str(math.floor(seconds_used / 60)) +
                 " 分 " + str(seconds_used % 60) + " 秒", chat_id=uid)
    show_scorePush(cookies, chat_id=uid)
    try:
        user.shutdown(stime)
    except Exception as e:
        pass


def start(nick_name=None):
    nohead, lock, stime, Single = get_argv()
    info_shread = threads.MyThread("获取更新信息...", version.up_info)
    info_shread.start()
    user_list = user.list_user(printing=False)
    user.refresh_all_cookies()
    if len(user_list) == 0:
        user_list.append(["", "新用户"])

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…