metrics calculation

This commit is contained in:
Tomasz Łysiak 2019-04-26 12:56:00 +02:00
parent ce125ba12b
commit eff00d3d59

View File

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