Author: Chimdindu Chukwuka
simple python script to convert a .csv file rows to multiple .json files calculates the .json files sha256 and appeneds to a new .csv file
Takes one .csv as the input
Code was written in Ubuntu22.04
- Install python3
- Download project Zip and unzip it
- Move your .csv file into the Project folder
- Open your terminal and navigate to the Folder on your system
- There is a HNGi9CSV.csv you can test your code with in the Folder
- In your terminal type: python3 csvtojson.py
- You will be prompted to enter the csv filename
- There is a HNGi9CSV.csv you can test your code with in the Folder
- DO NOT ENTER THE .csv only enter file name
- You must change Filenames with spaces eg. NFT team 50 Team Ruler.csv -> TeamRuler.csv
- Typing .csv at the end of your file will lead to the file not being discovered
- Code will now run if instructions are followed
- you will have multiple nftfilename.json files
- a filename.output.csv file
- type ls in your terminal to see created files