这是我的代码:
firstName = cursor.execute("SELECT firstName FROM students WHERE id = %s" % idRemove)
print(firstName)
这就是我得到的回报:
<sqlite3.Cursor object at 0x00E88C20>
函数返回光标对象。
print(firstName.fetchone())