Advice for PostgreSQL

Discussion in 'Python' started by Ben Finney, Dec 16, 2003.

  1. Ben Finney

    Ben Finney Guest

    On Tue, 16 Dec 2003 15:17:38 +1100, Steve wrote:
    > Can someone please point me out to some module/library for using
    > PostgreSQL from python? Perhaps a tutorial as wel? Thanks!


    Hmm. Typing "python" and "postgresql" into Google gives numerous
    results, most of the useful ones at the top.

    Typing "python" and "postgresql" along with "module" gets me a direct
    hit:

    <http://www.pygresql.org/>

    Did this method not work for you?

    --
    \ "Yesterday I told a chicken to cross the road. It said, 'What |
    `\ for?'" -- Steven Wright |
    _o__) |
    Ben Finney <http://bignose.squidly.org/>
     
    Ben Finney, Dec 16, 2003
    #1
    1. Advertisements

  2. Ben Finney

    Steve Guest

    Hi,

    Can someone please point me out to some module/library for using
    PostgreSQL from python? Perhaps a tutorial as wel? Thanks!


    Steve
     
    Steve, Dec 16, 2003
    #2
    1. Advertisements

  3. Steve wrote:
    > Hi,
    >
    > Can someone please point me out to some module/library for using
    > PostgreSQL from python?


    Either one of these will do fine:

    - http://pypgsql.sourceforge.net/
    - http://initd.org/software/initd/psycopg

    Both contain documentation, but not tutorial-like, AFAIK.

    > Perhaps a tutorial as wel? Thanks!


    http://www.linuxjournal.com/article.php?sid=2605

    It uses soliddb as a module, but all these modules implement the Python DB-API
    2.0, so the major differences are the import statement and the call to .connect().

    -- Gerhard
     
    =?ISO-8859-1?Q?Gerhard_H=E4ring?=, Dec 16, 2003
    #3
  4. Ben Finney

    Olaf Ferger Guest

    On Tue, 16 Dec 2003 15:17:38 +1100, Steve <nospam@nopes> wrote:

    >Can someone please point me out to some module/library for using
    >PostgreSQL from python? Perhaps a tutorial as wel? Thanks!


    Try module 'psycopg' from www.initd.org !

    Regards,

    Olaf

    --
    EOP
     
    Olaf Ferger, Dec 16, 2003
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fred Nelson

    Accessing PostgreSQL from ASP.NET

    Fred Nelson, Sep 2, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    3,315
    Fred Nelson
    Sep 2, 2005
  2. mike
    Replies:
    0
    Views:
    589
  3. Richard Corfield
    Replies:
    2
    Views:
    2,330
    Richard Corfield
    Apr 22, 2004
  4. Asun Friere
    Replies:
    1
    Views:
    705
    Paul Boddie
    Aug 27, 2003
  5. Peter Hansen
    Replies:
    23
    Views:
    1,350
    Anton Vredegoor
    Sep 5, 2003
  6. Gerrit Holl
    Replies:
    16
    Views:
    880
    Tom Plunket
    Aug 29, 2003
  7. Michele Simionato
    Replies:
    2
    Views:
    523
    Jacek Generowicz
    Sep 1, 2003
  8. Colin J. Williams
    Replies:
    6
    Views:
    632
    Andrew Dalke
    Aug 30, 2003
Loading...