使用Python迭代文件
>>> f = open('baby1990.html', 'rU')>>> for line in f.readlines():>>> print(line)>>> ...>>> ... all the lines from the file appear here>>> ...
>>> f = open('baby1990.html', 'rU')>>> for line in f.readlines():>>> print(line)>>>>>>
扬帆大鱼
回首忆惘然
相关分类