Newbie Database.

Corey Woodworth schitz0boy at hotmail.com
Tue May 28 05:16:35 EDT 2002


donnal at donnal.net (Donnal Walter) wrote in message news:<918bc22f.0205271741.5b64aa4a at posting.google.com>...
> schitz0boy at hotmail.com (Corey Woodworth) wrote ...
> > How should I save my database file for instance? I was thinking a text
> > file full of strings like this perhaps:
> > 
> > songname::artist::performer::filename:: ... ...
> > 
> 
> If you have some reason not to use the built-in pickle module or
> shelve, you might consider formatting your database using XML (with or
> without newlines):

I have no reason. I just don't know much about them. 
 
> <song>
>   <name>
>     Watermark
>   </name>
>   <artist>
>     Enya
>   </artist>
> </song>

I think such a system might be a little verbose. I'm really interested
in pickle and shelve though. Are there any good intros into them?

> Donnal Walter
> Arkansas Children's Hospital



More information about the Python-list mailing list