Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36292

Re: psycopg2 cursor.execute CREATE TABLE issue

Date 2013-01-06 17:14 -0500
From Mitya Sirenef <msirenef@lightbird.net>
Subject Re: psycopg2 cursor.execute CREATE TABLE issue
References <185b6d9e-99ce-4f2a-81ea-d9a63b81b4cf@googlegroups.com> <mailman.187.1357508761.2939.python-list@python.org> <10bc4895-21e3-4a56-84fd-b0830e42acfa@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.189.1357510481.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Sun 06 Jan 2013 04:53:32 PM EST, andydtaylor@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/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

psycopg2 cursor.execute CREATE TABLE issue andydtaylor@gmail.com - 2013-01-06 13:38 -0800
  Re: psycopg2 cursor.execute CREATE TABLE issue Mitya Sirenef <msirenef@lightbird.net> - 2013-01-06 16:44 -0500
    Re: psycopg2 cursor.execute CREATE TABLE issue Walter Hurry <walterhurry@lavabit.com> - 2013-01-06 22:37 +0000
  Re: psycopg2 cursor.execute CREATE TABLE issue Chris Angelico <rosuav@gmail.com> - 2013-01-07 08:45 +1100
    Re: psycopg2 cursor.execute CREATE TABLE issue andydtaylor@gmail.com - 2013-01-06 13:53 -0800
      Re: psycopg2 cursor.execute CREATE TABLE issue Mitya Sirenef <msirenef@lightbird.net> - 2013-01-06 17:14 -0500
      Re: psycopg2 cursor.execute CREATE TABLE issue Chris Angelico <rosuav@gmail.com> - 2013-01-07 09:19 +1100
    Re: psycopg2 cursor.execute CREATE TABLE issue andydtaylor@gmail.com - 2013-01-06 13:53 -0800

csiph-web