title: Export MS Access tables into csv separated into columns
body: <p>I want to export the MS Access table I'm using into a csv/xlsx file. I have tried this:</p>
  <pre><code>def write_to_csv1(result): 
  
  with open ('jur.csv', 'a', newline='') as f:
      w = csv.writer(f, dialect='excel')
      for record in result:
          w.writerow(record)
  </code></pre>
  <p>But this makes all the row to be placed in a same column. What I need it to do is separate the row into columns to be just like the Acess table.</p>