up when running that through
Google.
On Thu, 31 Jan 2008, Steve Holden wrote:
> Andre' John wrote:
> > Hi
> >
> > I am trying to do this for a Postgresql database:
> >
> > conn = psycopg2.connect('host=localhost')
> > cur = c
Hi
I am trying to do this for a Postgresql database:
conn = psycopg2.connect('host=localhost')
cur = conn.cursor()
cur.execute("SELECT * FROM names WHERE name=%s", ['S'])
, which doesn't work, and neither does
cur.execute("SELECT * FROM names WHERE name='%s'", ['S'])
or
cur.execute("SELECT *
Nice. Thanks a lot.
Andre
On Wed, 16 Jan 2008, Paul Hankin wrote:
> On Jan 16, 8:34 am, Andre <[EMAIL PROTECTED]> wrote:
> > Hi there
> >
> > Is there a function like strptime, which takes a string and converts it
> > into an array depending on a format string I provide. Like:>>> a =
> > '3456