<gh_stars>0
#!/bin/env python3

#   Author  :   <NAME>

import sys
sys.path.append("..")
import json
#import collections

if __name__=="__main__":

    cnt = 1
    data = {"pal": {}}
    done = {}
    done['D'] = "0"
    done['J'] = "1"
    done[str(cnt)]=6
    data["pal"].update(done)
    print(data)
    jfile=json.dumps(data, indent=4)
    with open('pal3.json', 'w') as outfile:
        #json.dump(jfile, outfile)
        outfile.write(jfile)
    exit(0)

#!/bin/env python3

#   Author  :   <NAME>

import sys
sys.path.append("..")
import json
#import collections

if __name__=="__main__":

    cnt = 1
    data = {"pal": {}}
    done = {}
    done['D'] = "0"
    done['J'] = "1"
    done[str(cnt)]=6
    data["pal"].update(done)
    print(data)
    jfile=json.dumps(data, indent=4)
    with open('pal3.json', 'w') as outfile:
        #json.dump(jfile, outfile)
        outfile.write(jfile)
    exit(0)
#!/bin/env python3 #   Author  :   <NAME> #import collections #json.dump(jfile, outfile)