[Tutor] accessing Postgres db results by column name

Serdar Tumgoren zstumgoren at gmail.com
Mon Apr 12 22:04:39 CEST 2010


> Wanted to send along one more update about this topic. Steve Orr pointed
> out in a comment on Ricardo's new recipe that there's yet another way to get
> named attribute access to cursor results.
>

I should add the disclaimer that namedtuple is only available in Python 2.6+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100412/590a2476/attachment.html>


More information about the Tutor mailing list