Re: execute sqlite3 dot commands in python

2010-02-11 Thread Aahz
In article , Steve Holden wrote: > >No. That's not how you pass commands to sqlite3 - you connect to a >database, create a cursor on the connection, and then execute SQL >statements (not sqlite commands) on the cursor. Like this: > import sqlite3 c = sqlite3.connect("deleteme") cu

Re: execute sqlite3 dot commands in python

2010-02-08 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gintare statkute wrote: > Does anybody know if it possible to execute sqlite3 dot commands in python? The dot commands are parsed and executed by different code not part of the standard SQLite library. However if you want interactive sh

Re: execute sqlite3 dot commands in python

2010-02-06 Thread Carl Banks
On Feb 5, 3:19 pm, Steve Holden wrote: > gintare statkute wrote: > > Does anybody know if it possible to execute sqlite3 dot commands in python? > > > dovanotas:/pages/links# python > > Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26) > > [GCC 4.3.2] on linu

Re: execute sqlite3 dot commands in python

2010-02-05 Thread Steve Holden
gintare statkute wrote: > Does anybody know if it possible to execute sqlite3 dot commands in python? > > dovanotas:/pages/links# python > Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26) > [GCC 4.3.2] on linux2 > Type "help", "copyright", "credits"

execute sqlite3 dot commands in python

2010-02-05 Thread gintare statkute
Does anybody know if it possible to execute sqlite3 dot commands in python? dovanotas:/pages/links# python Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>