Which persistence is for me?

N

Neal Becker

I need to organize the results of some experiments. Seems some sort of
database is in order.

I just took a look at DBAPI and the new sqlite interface in python2.5. I
have no experience with sql. I am repulsed by e.g.:
c.execute("""insert into stocks
values ('2006-01-05','BUY','RHAT',100,35.14)""")

ewww. How unpythonic. I don't want to use a string to specify what
function to execute. I want to call a function (c.insert?).

Is there some other interface/database that I might like better?
 
G

Giles Brown

I need to organize the results of some experiments. Seems some sort of
database is in order.

I just took a look at DBAPI and the new sqlite interface in python2.5. I
have no experience with sql. I am repulsed by e.g.:
c.execute("""insert into stocks
values ('2006-01-05','BUY','RHAT',100,35.14)""")

ewww. How unpythonic. I don't want to use a string to specify what
function to execute. I want to call a function (c.insert?).

Is there some other interface/database that I might like better?

http://wiki.python.org/moin/HigherLevelDatabaseProgramming
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top