From 44a0be860ba96692687e8fd33e344d2487bf9aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20=C5=81ysiak?= Date: Fri, 26 Apr 2019 11:46:32 +0200 Subject: [PATCH] v3 --- script.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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