Message388088
You're right. I got it confused with the conn object in the code I was working on, because it turns out that it has an execute() method:
>>> import sqlite3
>>> c = sqlite3.connect('test.db')
>>> c.execute('SELECT * FROM tbl')
<sqlite3.Cursor object at 0x7f6dc7a07c00>
Closing, apologies for the noise! |
|
Date |
User |
Action |
Args |
2021-03-04 14:18:56 | toreanderson | set | recipients:
+ toreanderson, docs@python, berker.peksag, erlendaasland |
2021-03-04 14:18:56 | toreanderson | set | messageid: <1614867536.32.0.353801658875.issue43396@roundup.psfhosted.org> |
2021-03-04 14:18:56 | toreanderson | link | issue43396 messages |
2021-03-04 14:18:56 | toreanderson | create | |
|