A python script to convert JSON files into Excel, CSV and combine multiple CSV to Single Excel
Simple python scripts to convert :
Clone the modules and navigate
Run python3 main.py
(for linux and mac users)
C:\Users\Mage1k99\json-excel>python3 main.py
1. JSON to Excel
2. JSON to CSV
3. Multiple CSV files to Excel
your option (from 1 to 3) : 1
Path of JSON file : C:\Users\Documents\collection.json
Sheetname (optional) : mysheet
Path of Output Excel
\Users\Documents\output.xlsx
mage:~/json-excel$ python3 main.py
1. JSON to Excel
2. JSON to CSV
3. Multiple CSV files to Excel
your option (from 1 to 3) : 1
Path of JSON file : ~/json/outputexcel.xlsx
Sheetname (optional) : mysheet
Path of Output Excel : ~/excel/outputexcel.xlsx
check to be done before conversion
- use python3, (as python2.7 will reach its end of life
- Always add extension to the filepaths while using
- before entering output path make sure that the directory exist!
- Give the correct file and path name
Just use the conversion module in your own projects by importing
screenshot of running main.py with files in absolute path
pip3 install -r requirements.txt
Based on python library pandas
Feel free to