diff --git a/script.py b/script.py index 2334806..d8a10f9 100644 --- a/script.py +++ b/script.py @@ -4,9 +4,7 @@ from importlib import reload import os reload(sys) -# sys.setdefaultencoding('utf8') -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 = os.popen('wc -l ./Infra/wikiniews_results.tsv').read() print('lines number') print(num_lines)