title: dump csv from sqlalchemy
body: <p>For some reason, I want to dump a table from a database (sqlite3) in the form of a csv file. I'm using a python script with elixir (based on sqlalchemy) to modify the database. I was wondering if there is any way to dump the table I use to csv.</p>
  
  <p>I've seen sqlalchemy <a href="http://www.sqlalchemy.org/docs/reference/ext/serializer.html" rel="noreferrer">serializer</a> but it doesn't seem to be what I want. Am I doing it wrong? Should I call the <a href="http://docs.python.org/library/sqlite3" rel="noreferrer">sqlite3 python module</a> after closing my sqlalchemy session to dump to a file instead? Or should I use something homemade?</p>