title: convert csv (;) deliminated file to Json file
body: <p>I try to convert CSV file(; delimited) to JSON file 
  and my CSV file structure is like below sample:
  ID;NAME;AGE;CLASS;SEC 
  1;ram;13;8;B</p>
  
  <p>like that </p>
  
  <pre><code>import csv,json
  csvf_path='xyz'
  jsonf_path='mnb'
  Data={}
  with csv(csvf_path) as csvFile:
      csvRider=csv.DictReader(csvFile)
      for csvRow as csvRider:
          ID=csvRow('ID')
          data[Id]=csvRow
  
  with open(jsonf_path,'W') as jsonFile
      jsonFile.write(json.dumps(data,indent=4))
  
  </code></pre>
  
  <p>-->data[Id]=csvRow ---->error---->KEyerror 
  i also try it using </p>
  
  <pre><code>csv.reader(csvf_path,delimiter=';')
  
  </code></pre>
  
  <p>then again I got an error,</p>
  
  <p>TypeError: list indices must be integers or slices, not str.
  --></p>
  
  <pre><code>ID=ID=csvRow('ID')
  
  </code></pre>