13 lines
224 B
Python
13 lines
224 B
Python
|
#!/usr/bin/python3
|
||
|
import os,sys
|
||
|
|
||
|
def parse_folder(p):
|
||
|
with open(p + '/info.txt') as f:
|
||
|
print(f.readlines())
|
||
|
|
||
|
def parse_out(p):
|
||
|
for folder in os.listdir(p):
|
||
|
parse_folder(p + '/' + folder)
|
||
|
|
||
|
parse_out(sys.argv[1])
|