Hi there,
I have mainly used the psycopg module to connect. It seems to work quite
well.
quick example:
import psycopg
conn = psycopg.connect("dbname=mydatabase password= host=
user=")
cur = conn.cursor()
cur.execute('select * from transit;')
results = cur.fetchall()
Hope this
Olli Rajala wrote:
> Well, I asked about tutorials, but maybe this was not so good day,
> because it has been quite "silent". :)
>
> So, good tutorials are still welcome, though I know now how to connect
> to the Postgresql database. I just have some problems, though.
You might want to try aski
Well, I asked about tutorials, but maybe this was not so good day,
because it has been quite "silent". :)
So, good tutorials are still welcome, though I know now how to connect
to the Postgresql database. I just have some problems, though. With
MySQL I can do like this:
import MySQLdb
def connec