[wxPython-users] Slightly OT: PySqlite
Jorgen Bodde
jorgen.maillist at gmail.com
Thu Oct 12 12:14:47 PDT 2006
Thanks everyone!
I have heard that sqlite was in python 2.5 but i was not sure if the methods
were the same. I am glad there is at least some documentation, because I did
not even knew there was an executescript. Because the darn
cur.executemethod only wanted one statement at the time, I was forced
to wrap them all
up individually. If I knew there was an executescript (which is not even
mentioned on the official PySqlite site)
I will refer to the python 2.5 usage guide in the future for PySqlite /
sqlite3, I am sure all methods mentiooned there can be used with the old
PySqlite as well.
Regards,
- Jorgen
On 10/12/06, Werner F. Bruhin <werner.bruhin at free.fr> wrote:
>
> Hi Jorgen,
>
> And don't forget in Boa to use Ctrl-Space and/or Ctrl-Shift-Space.
>
> They don't always work, but e.g. in the console it works.
>
> import sqlite3
> con =3D sqlite3.connect("mydb")
> cur =3D con.cursor()
>
> and then you could enter e.g. "cur.Ctrl-Space" and it shows you the
> available functions, select e.g. execute and you get
> cur.execute then type "(" and Ctrl-Shift-Space.
>
> Werner
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200610=
12/75bee4dc/attachment.htm
More information about the wxpython-users
mailing list