psycopg2 cursor.execute CREATE TABLE issue

Mitya Sirenef msirenef at lightbird.net
Sun Jan 6 23:14:34 CET 2013


On Sun 06 Jan 2013 04:53:32 PM EST, andydtaylor at gmail.com wrote:
> Wow it's as simple as that! I'm afraid my database experience is in Microsoft Access in Windows and not at the command line, so that wasn't intuitive for me.
>
> Thanks again,
>
> Andy


IIRC I made the same mistake when I was using psycopg for the first 
time.
I think wrapper libraries like sqlalchemy usually have myrecord.save()
method which is more intuitive.

 -m


--
Lark's Tongue Guide to Python: http://lightbird.net/larks/



More information about the Python-list mailing list