Python 2.7 MySQLdb將從數據庫讀取的最后一行保存到文本文件中 [英]Python 2.7 MySQLdb to save last row read from database into text file