Newbie: Crazy, but Quick

Quinn Dunkan quinn at yak.ugcs.caltech.edu
Thu Feb 21 21:00:27 EST 2002


On Thu, 21 Feb 2002 17:35:44 -0800, Virginia O <vodine at direct.ca> wrote:
>Thanks, but the database will have to hold sub-groups etc. It will be easier
>for me to enter and organize the items in a database.
>I only gave the scenario as an example. The actual program will hold
>hundreds of items.

Hundreds is just fine for flat text.  If you have a few thousand and you're
modifying it a lot, then flat text will start being clunky.

In that case, shelve should work fine, especially for complicated data
structures since you can dump python types directly, with no clunky converting
to/from some format SQL likes.  And it's much simpler to have everything in
python instead of a whole other database program with its own language, etc.



More information about the Python-list mailing list