Modifying Peter Hansen's answer here a bit, to use SQLAlchemy instead of raw db access ... dump rows outcsv.writerows(cursor.fetchall()) outfile.close().
確定! 回上一頁