NULL vs. None and MySQLdb

Aahz Maruch aahz at panix.com
Mon Sep 18 22:15:07 EDT 2000


In article <4568.12.17.189.202.969323176.squirrel at webmail.integritysi.com>,
Geoffrey L. Wright <geoff at integritysi.com> wrote:
>
>str(row) seems to return NULL values as None.  Any easy way to have it
>return NULL as NULL?

None is the Python equivalent of NULL; what's wrong with None?
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

The best way to get information on Usenet is not to ask a question, but 
to post the wrong information.  --Aahz



More information about the Python-list mailing list