小编Nuh*_*min的帖子

如何在 python 中打印 sqlite3 的输出

这是我的代码:

 conn=sqlite3.connect('myfile.db')
 print(conn.execute("PRAGMA table_info(mytable);"))
Run Code Online (Sandbox Code Playgroud)

当我运行时,我得到以下输出:

sqlite3.Cursor 对象位于 0x02889FAO

我怎样才能打印它的实际 sqlite3 输出?

python printing sqlite

4
推荐指数
1
解决办法
9995
查看次数

标签 统计

printing ×1

python ×1

sqlite ×1