会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
安东尼漂流记
博客园
首页
新随笔
管理
2018年5月25日
日常练习 1.0
摘要: #实时打印输出日志文件import timewith open('access.log', 'rb') as f: f.seek(0, 2) while True: line = f.readline() if line: print(line.decode('utf-8')) else: time
阅读全文
posted @ 2018-05-25 17:08 Done、
阅读(204)
评论(0)
推荐(0)