Re: Surpressing Warnings

2009-08-16 Thread Victor Subervi
This is strange because I actually had "if exists" in my code: sqlKWDrop = 'DROP TABLE IF EXISTS ' + kwTable + ';' where kwTable, in the instance cited below, becomes "judaism_128". What gives? Victor On Sun, Aug 9, 2009 at 7:57 PM, Dennis Lee Bieber wrote: > On Sun, 9 Aug 2009 15:21:43 -0500,

Re: Surpressing Warnings

2009-08-09 Thread Chris Rebert
On Sun, Aug 9, 2009 at 4:21 PM, Victor Subervi wrote: > Hi: > I get a ton of warnings like this from a program I run: > > Warning (from warnings module): >   File "C:\Python25\read.py", line 67 >     cursor.execute(sqlKWDrop) > Warning: Unknown table 'judaism_128' > > How do I surpress them? impor

Surpressing Warnings

2009-08-09 Thread Victor Subervi
Hi: I get a ton of warnings like this from a program I run: Warning (from warnings module): File "C:\Python25\read.py", line 67 cursor.execute(sqlKWDrop) Warning: Unknown table 'judaism_128' How do I surpress them? TIA, Victor -- http://mail.python.org/mailman/listinfo/python-list