返回顶部

收藏

Looping through the file, line by line.

更多
print '\nLooping through the file, line by line.'
text_file = open('read_it.txt', 'r')
for line in text_file:
    print line
text_file.close()

标签:Python,File

收藏

0人收藏

支持

0

反对

0

发表评论