Should I prefer an external database

David M. Cook davecook at nowhere.net
Tue Apr 22 05:22:51 EDT 2003


In article <u3ckbymri.fsf at mail.afm.dtu.dk>, Brian Elmegaard wrote:

> I am working on a script for organizing a program for a conference. I
> started out using a connection to mySQL, but then I thought that it
> would be easier to keep it within python. So I implemented a class:
> 
> class Paper:
>         def __init__(title,author,session):
>                 self.title=title
>                 self.author=author
>                 self.session=session

You might want to take a look at SQLObject

http://sqlobject.org

or IndexedCatalog (which sits atop ZODB):

http://www.async.com.br/projects/IndexedCatalog/

Dave Cook




More information about the Python-list mailing list