_time.py 文件源码

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

项目:myriagon 作者: hawkowl 项目源码 文件源码
def save_time_spent(task, time):

    dest = FilePath(appdirs.user_data_dir("myriagon", "hawkowl")).child("time")
    dest.makedirs(True)

    task_time_file = dest.child(str(task.id) + ".json")
    task_time_file.setContent(json.dumps(cattr.dumps(time)).encode('utf8'))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号