psycopg2 cursor.execute CREATE TABLE issue

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

On Sun 06 Jan 2013 04:53:32 PM EST, andydtaylor at 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 
I think wrapper libraries like sqlalchemy usually have
method which is more intuitive.


Lark's Tongue Guide to Python:

More information about the Python-list mailing list