WIP parser script

This commit is contained in:
Quentin Dufour 2020-01-13 17:01:57 +00:00
parent a4ad88ad47
commit ef26caaf57

12
scripts/jantoran.py Executable file
View file

@ -0,0 +1,12 @@
#!/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])