Books Database

Jeff Sandys sandysj at juno.com
Tue Mar 4 12:21:24 EST 2003


You might consider YAML
	http://www.yaml.org/

Uses indentation like Python and loads as a dictionary.

book :
    name   : Example
    author : Somedood
    year   : 1969
book :
    name   : Wuffy
    author : Puffy
    year   : 2010

Thanks,
Jeff Sandys

Eliran Gonen wrote:
> 
> Hello !
> 
> I want to ask you what do you think is the best way 
> to keep a list of books with other data (such as 
> year and author) in a file ?
> 
... 
> name=Example
> author=Somedood
> year=1969
> 
> name=Wuffy
> author=Puffy
> year=2010
> 
> ....etc




More information about the Python-list mailing list