Changes

Jump to navigation Jump to search
166 bytes removed ,  07:03, 5 February 2009
Line 70: Line 70:  
Git is the version control software used by Sugar Labs.  It is a distributed version control system and is quite powerful, but requires a lot of command line use.
 
Git is the version control software used by Sugar Labs.  It is a distributed version control system and is quite powerful, but requires a lot of command line use.
   −
====Configure files routine====
+
====XML routine====
=====XML=====
  −
If you need to store activity configure files the best way is using XML (it's well supported in Python and still human readable/editable).
  −
 
   
There are [http://docs.python.org/library/markup.html dozens] Python classes to satisfy XML standard but if you want just save/load parameters use "Zen of XML" in Python - [http://effbot.org/zone/element.htm ElementTree] library. It's supported out of the box in Python 2.5(xml.etree.ElementTree module). In previous version you'll have to install library by yourself.
 
There are [http://docs.python.org/library/markup.html dozens] Python classes to satisfy XML standard but if you want just save/load parameters use "Zen of XML" in Python - [http://effbot.org/zone/element.htm ElementTree] library. It's supported out of the box in Python 2.5(xml.etree.ElementTree module). In previous version you'll have to install library by yourself.
  

Navigation menu