Re: Can anybody help me retrieve how to retrieve output from this Python code below!

2017-07-11 Thread Peter Otten
ksatish@gmail.com wrote: [snip code] Wasn't there any documentation to go with that script? That's the preferable method to use software written by someone else ;) Anyway -- First you have to undo what was probably changed by yourself: $ diff -u json2csv_orig.py json2csv.py --- json2csv_o

Can anybody help me retrieve how to retrieve output from this Python code below!

2017-07-11 Thread ksatish . dtc
try: import unicodecsv as csv except ImportError: import csv import json import operator import os from collections import OrderedDict import logging logging.basicConfig(level=logging.DEBUG) class Json2Csv(object): """Process a JSON object to a CSV file""" collection = None