5 lines
143 B
Python
5 lines
143 B
Python
num_lines = sum(1 for line in open('./Infra/wikiniews_results.tsv'))
|
|
|
|
file = open('num_lines.py', 'w')
|
|
file.write('num_lines.txt')
|
|
file.close() |