2024-10-02 18:17:32 发布
网友
这是我的代码:
firstName = cursor.execute("SELECT firstName FROM students WHERE id = %s" % idRemove) print(firstName)
这就是我得到的回报:
<sqlite3.Cursor object at 0x00E88C20>
函数返回一个游标对象
print(firstName.fetchone())
函数返回一个游标对象
相关问题 更多 >
编程相关推荐