🌈 搜索
📅  最后修改于: 2022-03-11 14:56:48.284000             🧑  作者: Mango
with open("datafile") as myfile: head = [next(myfile) for x in range(N)] print(head)