merge json

parent da0e6a0b
#!/usr/bin/python
# -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
def mergeL2ASCL_JSON(jsonList):
#-------------------------------------------------------------------------------
def main(argv):
if len(sys.argv) != 2:
print("Usage: " + argv[0] + " <directory>")
else:
dirList = os.listdir(argv[1])
jsonList = list()
for f in dirList:
print(f)
# e=open(f).read()
# jsonFile['date'] = }
# append(jsonFile)
#-------------------------------------------------------------------------------
if __name__ == "__main__":
main(sys.argv)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment