This commit is contained in:
deadsmond 2019-12-03 15:51:31 +01:00
parent 7e1d3c8cfb
commit 7fa70e66ee

View File

@ -47,15 +47,14 @@ auto = automata()
for line in sys.stdin: for line in sys.stdin:
auto.add_node(line) auto.add_node(line)
print(sys.argv) '''
print(os.listdir(os.path.join(os.curdir,'TaskB04')))
shutil.copy( shutil.copy(
sys.argv[1].replace('.arg', '.exp'), 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: with open(sys.argv[1].replace('.arg', '.exp'), 'r') as f:
for line in f: for line in f:
# print(line.decode('utf-16', 'ignore')) # print(line.decode('utf-16', 'ignore'))
print(line) print(type(line), list(line), line)