Skip to content

chicode-dev/recruitmentTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HNG9 Zuri task 1.5

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

How to use

  1. Install python3
  2. Download project Zip and unzip it
  3. Move your .csv file into the Project folder
  4. Open your terminal and navigate to the Folder on your system
  5. There is a HNGi9CSV.csv you can test your code with in the Folder
  6. In your terminal type: python3 csvtojson.py
  7. 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
  8. Code will now run if instructions are followed

Output

  • you will have multiple nftfilename.json files
  • a filename.output.csv file
  • type ls in your terminal to see created files

Releases

No releases published

Packages

No packages published

Languages