'hm'
This commit is contained in:
parent
5713e5c4ec
commit
0d0e72509e
@ -52,9 +52,9 @@ print(os.listdir(os.path.join(os.curdir,'TaskB04')))
|
||||
|
||||
shutil.copy(
|
||||
sys.argv[1].replace('.arg', '.exp'),
|
||||
sys.argv[1].replace('.arg', '.txt')
|
||||
sys.argv[1].replace('.arg', '')
|
||||
)
|
||||
|
||||
with open(sys.argv[1].replace('.arg', '.txt'), 'r') as f:
|
||||
with open(sys.argv[1].replace('.arg', ''), 'r') as f:
|
||||
for line in f:
|
||||
print(line.decode('utf-16', 'ignore'))
|
||||
|
Loading…
Reference in New Issue
Block a user