Which persistence is for me?
Neal Becker
ndbecker2 at gmail.com
Thu Nov 1 10:04:16 EDT 2007
Neal Becker wrote:
> 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?
>
I'm looking at lxml. I'd like to store hierarchical data, and would prefer
to avoid binary formats.
More information about the Python-list
mailing list