title: How to convert contents of csv to lowercase in Python?
body: <p>I've looked at all the threads I can find but I still can't figure it out, I'm having all sorts of issues.</p>
  
  <p>First issue is that I can't change the items in a list to lower case, so I have to convert it to a string first.  Once I do that I can't append strings back into the list without it creating a double list.  Why can't I simply change a list to lowercase, delete contents in csv, then paste the lowercase list back in?</p>
  
  <p>My latest attempt, but I've tried many things.</p>
  
  <pre><code>with open(teacherDD, 'r+') as f:
  read = csv.reader(f, delimiter=',', quotechar='"', quoting=csv.QUOTE_ALL)
  for row in read:
      copyRow = row.copy()
      # print(copyRow)
      del row[:]
      # print(row)
      getLowerStr = str(copyRow).lower()
      # appendLower = row.append(getLowerStr)
      # print(getLowerStr)
      print(row)
      f.write(getLowerStr)
  f.close()
  </code></pre>