sqlCommand = ("SELECT LAST_INSERT_ID();") self.cHandler.execute(sqlCommand) results=self.cHandler.fetchall() taskID=results[0][0] print 'taskID:'+ str(taskID)
下から選んでください: