s407259-mlworkshops/script.py
2019-04-26 13:01:58 +02:00

13 lines
263 B
Python

print('starting 2')
import sys
from importlib import reload
import os
reload(sys)
num_lines = os.popen('wc -l ./Infra/wikiniews_results.tsv').read()
print('lines number')
print(num_lines)
file = open('num_lines.txt', 'w')
file.write(str(num_lines))
file.close()