Prologue:
   * I am hacking together an application. I need to store a list of some
files in one program.

   * Another program must read this list and perform some actions.

   * The files can be of three  different categories. I use separate lists
while computing these.
      I need to recover them as separate lists too.

   * I am using Python at the moment for this.

Question:
    Which format do I use?

    I am kinda undecided because of the tradeoffs between xml, yaml and
pickling

    If I choose yaml which has been my personal favorite because I have used
it more often in
the past with Ruby. But python yaml libs do not come with python. I would be
adding an extra
dependency.

    If I use pickling, I would actually be restricting it to python. So a
future C app may not be
able to use the older files

    If I use XML. Err. I do not know to use XML from inside languages. But
is it worth the time
spent in learning to use the XML libraries?



---

Ashok `ScriptDevil` Gautham
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to