'hm'
This commit is contained in:
parent
7c005d241a
commit
601254ea7f
@ -2,6 +2,9 @@
|
||||
import sys
|
||||
import re
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
||||
|
||||
class automata:
|
||||
def __init__(self):
|
||||
@ -46,7 +49,11 @@ for line in sys.stdin:
|
||||
|
||||
print(sys.argv, sys.argv[1].replace('.arg', '.exp'))
|
||||
|
||||
f = open(sys.argv[1].replace('.arg', '.exp'), 'r')
|
||||
|
||||
new_file = sys.argv[1].replace('.arg', '.txt')
|
||||
shutil.copy(sys.argv[1], new_file) #copy the file to destination dir
|
||||
|
||||
f = open(new_file, 'r')
|
||||
|
||||
for line in f:
|
||||
print(str(line))
|
||||
|
Loading…
Reference in New Issue
Block a user