[portland] Need Help With a For Loop
Dylan Reinhardt
dylanr at dylanreinhardt.com
Fri Mar 21 00:16:28 CET 2008
I was just about to suggest SQLAlchemy. Elixir is a great way to get at
SQLAlchemy.
Either way, once you get the database metadata stuff in line, it's an
incredibly easy way to manipulate SQL-stored data as instances of a Python
class.
Here's a decent tutorial that should give a high-level view of what that
might look like:
http://www.rmunn.com/sqlalchemy-tutorial/tutorial.html
HTH,
Dylan
On 3/20/08, Michael Richardson <richardson.michael.t at gmail.com> wrote:
>
> > The data are stored in a SQLite table; two tables, actually, and
> > retrieved
> > with a SELECT statement into the list of tuples. For testing
> > purposes I
> > copied the results into a static list.
>
>
> For any dealings with databases, I generally find an ORM to be an
> absolute lifesaver - if you're not doing web stuff, Elixir (
> http://elixir.ematia.de/trac/wiki
> ) is my favorite; otherwise, I stick with Django.
>
>
> _______________________________________________
> Portland mailing list
> Portland at python.org
> http://mail.python.org/mailman/listinfo/portland
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/portland/attachments/20080320/baa9fefe/attachment.htm
More information about the Portland
mailing list