From 6a9445de24929791e68eab146994e991529c8158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20=C5=81ysiak?= Date: Fri, 26 Apr 2019 11:47:14 +0200 Subject: [PATCH] v3 --- script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.py b/script.py index 29296fb..5cc59a0 100644 --- a/script.py +++ b/script.py @@ -2,5 +2,5 @@ num_lines = sum(1 for line in open('./Infra/wikiniews_results.tsv')) file = open('num_lines.txt', 'w') -file.write(num_lines) +file.write(int(num_lines)) file.close() \ No newline at end of file