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
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
On Fri, 10 Feb 2006 02:44:41 -0800, Rahul wrote:
> Hi Everybody
>
> I have some problem in my script. please help me.
I'll do better: I'll help you help yourself.
First step: what is the problem? Saying "I have a problem" and expecting
us to guess what it is will not give good results.
Second