From 4511276f34357becc17a508e341c09984b08c9da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20=C5=81ysiak?= Date: Fri, 26 Apr 2019 11:29:09 +0200 Subject: [PATCH] v3 --- script.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script.py b/script.py index e024ac9..4c6772d 100644 --- a/script.py +++ b/script.py @@ -1,4 +1,5 @@ num_lines = sum(1 for line in open('./Infra/wikiniews_results.tsv')) - -print(num_lines) \ No newline at end of file +file = open('num_lines.py', 'w') +file.write('num_lines') +file.close() \ No newline at end of file