Eliminate "extra" variable
Tim Chase
python.list at tim.thechases.com
Sun Dec 15 07:29:23 EST 2013
On 2013-12-15 06:17, Tim Chase wrote:
>>>>>> conn = sqlite3.connect('x.sqlite',
>>>... detect_types=sqlite3.PARSE_DECLTYPES|sqlite3.PARSE_COLNAMES)
>
> Your example code omitted this one crucial line. Do you specify the
> detect_types parameter to connect()?
It's really the PARSE_DECLTYPES that is important.
http://docs.python.org/2/library/sqlite3.html#sqlite3.PARSE_DECLTYPES
-tkc
More information about the Python-list
mailing list