how to create data to dump into yaml file

sibteym at infotechsw.com sibteym at infotechsw.com
Mon Feb 2 02:41:55 EST 2009


hi
    I have to create a yaml file using my list of objects.shall i need to
create a string using my objects and then load and dump that string or
is there any other way to create the yaml file.

i want a yaml file to be created from [Text, Author,......]in this format
Text:
    - value1
    - value2
    - value 3
Author:
     name: bookName


Thanks
Sibtey Mehdi







More information about the Python-list mailing list