I need a command line script to extract the csv file. Create the parsing code as a library so that it may be used by other applications (Hint: OOP). Design so that other file formats (xml, json) can be used in the future with ease. (Example csv file attached)
Please note: I wanted to extract some other csv file with same format but unfortunately I cant post here.
Example format :
<id> <name> (<quantity>)
- <category 1>
- <category 2>
- <category n...>
Example:
68-OX-YH94 Carrot (5)
- vegetable
- green
- orange
- skinny
I have two ways to do it.
One way is to write a command line script to parse the csv files.
While the other way is to use python to parse the files and generate proper outputs.
I prefer the python script since it is much easier and quicker for me to do the job.
If you are interested, please provide me some sample data.
I will give you a demo based on the data so that you can check.
Feel free to contact me. Thanks for your attention and time!