"michael scott" wrote
> Is this really a python tutor question? Oh, well, try this:
> http://lmgtfy.com/?q=sqlite+test+if+table+exists
My apologies, I was not aware that there were questions I could and
could not
ask.
The only issue is whether it is relevant to the group.
Python tutor is
On Wed, Apr 6, 2011 at 10:38 AM, michael scott wrote:
>
>
> --
> *From:* Andre Engels
>
> *To:* michael scott
> *Cc:* tutor@python.org
> *Sent:* Wed, April 6, 2011 10:19:53 AM
>
> *Subject:* Re: [Tutor] (sqlite3) Testing if a table has b
From: Andre Engels
To: michael scott
Cc: tutor@python.org
Sent: Wed, April 6, 2011 10:19:53 AM
Subject: Re: [Tutor] (sqlite3) Testing if a table has been created.
On Wed, Apr 6, 2011 at 4:06 PM, michael scott wrote:
Is this really a python tutor question
On Wed, Apr 6, 2011 at 4:06 PM, michael scott wrote:
> Is this really a python tutor question? Oh, well, try this:
> http://lmgtfy.com/?q=sqlite+test+if+table+exists
>
> --
> Joel Goldstick
>
>
> My apologies, I was not aware that there were questions I could and could
> not ask. I understand n
From: Joel Goldstick
To: michael scott
Cc: tutor@python.org
Sent: Wed, April 6, 2011 8:30:17 AM
Subject: Re: [Tutor] (sqlite3) Testing if a table has been created.
On Tue, Apr 5, 2011 at 9:59 PM, michael scott wrote:
Hello guys,
>
>Since sqlite gi
On Tue, Apr 5, 2011 at 9:59 PM, michael scott wrote:
> Hello guys,
>
> Since sqlite gives an error if you try to create a table that's already
> there, how do I test if a table is already present?
>
>
> for example in
>
> def database(info):
> import sqlite3
>
> connection = sqlite3.conne
On Tue, Apr 5, 2011 at 6:59 PM, michael scott wrote:
> Hello guys,
>
> Since sqlite gives an error if you try to create a table that's already
> there, how do I test if a table is already present?
>
>
> for example in
>
> def database(info):
> import sqlite3
>
> connection = sqlite3.connec
Hello guys,
Since sqlite gives an error if you try to create a table that's already there,
how do I test if a table is already present?
for example in
def database(info):
import sqlite3
connection = sqlite3.connect("test.db")
cursor = connection.cursor()
if table not in test.d