Python 跳过第一行读取

from itertools import islice
input_file = open("../test.txt")
for line in islice(input_file, 1, None):...

猜你喜欢

转载自blog.csdn.net/weixin_42284584/article/details/89154441