这是我的代码:
conn=sqlite3.connect('myfile.db') print(conn.execute("PRAGMA table_info(mytable);")) Run Code Online (Sandbox Code Playgroud)
conn=sqlite3.connect('myfile.db') print(conn.execute("PRAGMA table_info(mytable);"))
当我运行时,我得到以下输出:
sqlite3.Cursor 对象位于 0x02889FAO
我怎样才能打印它的实际 sqlite3 输出?
python printing sqlite
printing ×1
python ×1
sqlite ×1