diff --git a/script.py b/script.py index fb6e703..29296fb 100644 --- a/script.py +++ b/script.py @@ -1,5 +1,6 @@ num_lines = sum(1 for line in open('./Infra/wikiniews_results.tsv')) -file = open('num_lines.py', 'w') -file.write('num_lines.txt') + +file = open('num_lines.txt', 'w') +file.write(num_lines) file.close() \ No newline at end of file