摘要: 编辑本文 Python基础 文件操作 1.有一个jsonline格式的文件file.txt大小约为10K def get_lines(): with open('file.txt','rb') as f: return f.readlines() if __name__ == '__main__': 阅读全文
posted @ 2019-09-11 18:54 安迪9468 阅读(305) 评论(0) 推荐(0) 编辑
摘要: http://itindex.net/detail/48636-%E7%99%BB%E5%BD%95-%E9%87%8D%E6%94%BE%E6%94%BB%E5%87%BB-%E9%A2%84%E9%98%B2 阅读全文
posted @ 2019-09-11 14:46 安迪9468 阅读(78) 评论(0) 推荐(0) 编辑