📅  最后修改于: 2022-03-11 14:47:11.041000             🧑  作者: Mango
代码示例3
file = open('test.txt')
for line in file:
fields = line.strip().split()
print fields[0], fields[1], fields[2], fields[3]