title: How to read a header from a CSV file using python
body: <p>i tried the following script as per ur suggestion and i get an error import csv</p>
  
  <pre><code>def main():
      col_name = "\\xyz-abc\Procz(abcd)\Digital"
      with open('C:\\read.csv', 'rb') as inf:
          reader = csv.reader(inf)
          col_index = next(reader).index(col_name)
          highest = max(rec[col_index] for rec in reader)
          print "test"
  main()     
  </code></pre>
  
  <p>I get an error <code>ValueError: '\\\\xyz-abc\Procz(abcd)\Digital' is not in list</code>   please help me..
  I think the script is not reading the column header.                                                          </p>