這種方式可以取出mysql的數(shù)據(jù):self.cursor.execute('calluuidproc(@uuid)')self.cursor.execute('select@uuid')r=self.cursor.fetchall()uuid=r[0][0]但是這樣卻不能:self.cursor.execute('calluuidproc(@uuid);select@uuid;')r=self.cursor.fetchall()uuid=r[0][0]請(qǐng)高人幫忙解答一下。
有人用過pymysql么?遇到個(gè)問題
不負(fù)相思意
2019-04-09 20:24:36