'hm'
This commit is contained in:
parent
8a772198d1
commit
17a1c88a68
13
TaskB04/run
13
TaskB04/run
@ -47,18 +47,13 @@ auto = automata()
|
||||
for line in sys.stdin:
|
||||
auto.add_node(line)
|
||||
|
||||
print(sys.argv, sys.argv[1].replace('.arg', '.exp'))
|
||||
|
||||
print(sys.argv)
|
||||
|
||||
shutil.copy(
|
||||
sys.argv[1].replace('.arg', '.exp'),
|
||||
sys.argv[1].replace('.arg', '.txt')
|
||||
)
|
||||
|
||||
f = open(sys.argv[1].replace('.arg', '.txt'), 'r')
|
||||
|
||||
print(f)
|
||||
print(f.read())
|
||||
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user