How to separate comma separeted data from csv file?
- by Rahul
I have opened a csv file and I want to sort each string which is comma separeted and are in same line:
ex:: file :
name,sal,dept
tom,10000,it
o/p :: each string in string variable
I have a file which is already open, so I can not use "open" API, I have to use "csv.reader" which have to read one line at a time.