🌈 搜索
📅  最后修改于: 2022-03-11 14:45:20.227000             🧑  作者: Mango
num_lines = sum(1 for line in open('myfile.txt'))