Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > how to create data to dump into yaml file

Reply
Thread Tools

how to create data to dump into yaml file

 
 
sibteym@infotechsw.com
Guest
Posts: n/a
 
      02-02-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




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Broken YAML.dump with YAML::Object (Missing String#each) Jonathan Gold Ruby 0 05-19-2009 07:53 PM
Re: how to create data to dump into yaml file Chris Rebert Python 0 02-02-2009 10:01 AM
YAML.dump/YAML.load bug Paul Battley Ruby 0 08-03-2005 08:28 PM
YAML Question: Using YAML::YamlNode#transform Method to get float values? RubyQuestions Ruby 0 12-03-2003 02:15 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57