#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = ‘jiangwenwen‘
# 从文件中按行读取数据
file = open("D:\坚果云\我的坚果云\\2019年计划.txt")
while 1:
lines = file.readlines(100000)
if not lines:
break
for line in lines:
print(line)
原文地址:https://www.cnblogs.com/jiangwenwen1/p/10360009.html
时间: 2024-11-07 04:17:38