Ejemplo n.º 1
0
def convert(info):
    convert_UTF8 = info[4]
    with open(info[0], 'r') as in_file:
        with open(info[1], 'w') as out_file:
            parse = Parse(convert_UTF8)
            out_file.write(parse.parseToJSON(in_file.read()))
    return info