From 8b868c7c0d2940f35ae08571be232cd68223ff60 Mon Sep 17 00:00:00 2001 From: deadsmond <01.lewicki@gmail.com> Date: Tue, 3 Dec 2019 14:06:52 +0100 Subject: [PATCH] 'hm' --- TaskB04/run | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/TaskB04/run b/TaskB04/run index a109404..c0c1f52 100644 --- a/TaskB04/run +++ b/TaskB04/run @@ -55,10 +55,6 @@ shutil.copy( sys.argv[1].replace('.arg', '.txt') ) -with open(os.path.join(os.curdir,'TaskB04', 'description.txt'), 'r') as f: - for line in f: - print(str(line)) - with open(sys.argv[1].replace('.arg', '.txt'), 'r') as f: for line in f: - print(str(line)) + print(str(line).decode('utf-16', 'ignore'))