python - Converting JSON to CSV using json2csv.py -
i did online research , found script convert json files csv file downloaded , stored on local filesystem json2csv.py. tutorial says have execute this:
python.exe json2csv.py [input_file] [output_file] where need store json2csv.py , format of [input_file]? tried typing in python shell(idle):
python.exe c:\json2csv.py [c:\inputfile.json] [c:\output.csv] but i'm getting syntax error. i'm newbie , need help.
i'm on windows 7.
assuming script (json2csv.py) , input file (inputfile.json) in root of c: , wish create output in same directory, need execute command-line (start > run... > cmdreturn) (and not idle).
python.exe c:\json2csv.py c:\inputfile.json c:\output.csv python json python-3.x python-2.7
No comments:
Post a Comment