This commit is contained in:
deadsmond 2019-12-03 14:17:01 +01:00
parent 91cb90cfb6
commit 694b994d03

View File

@ -46,17 +46,17 @@ auto = automata()
for line in sys.stdin:
auto.add_node(line)
print(sys.argv)
print(os.listdir(os.path.join(os.curdir,'TaskB04')))
shutil.copy(
sys.argv[1].replace('.arg', '.exp'),
sys.argv[1].replace('.arg', '')
)
sys.argv[1].replace('.arg', '')
)
with open(sys.argv[1].replace('.arg', ''), 'r') as f:
print(f.decode('utf-16', 'ignore'))
for line in f:
# print(line.decode('utf-16', 'ignore'))
print(line)
print(line)