metrics calculation

This commit is contained in:
Tomasz Łysiak 2019-04-26 12:58:30 +02:00
parent 22ebd12d39
commit 4742c4b1e4

View File

@ -5,7 +5,7 @@ import os
reload(sys) reload(sys)
# sys.setdefaultencoding('utf8') # sys.setdefaultencoding('utf8')
num_lines = os.popen('wc -l ./Infra/wikiniews_results.tsv').read() num_lines = os.popen('wc -l $1 ./Infra/wikiniews_results.tsv').read()
# num_lines = sum(1 for line in open('./Infra/wikiniews_results.tsv')) # num_lines = sum(1 for line in open('./Infra/wikiniews_results.tsv'))
print('lines number') print('lines number')