A Configuration Comparison in Python (#70)

Terry Peppers bio
30min ◊ Beginner
Friday 10:20am, Ballroom ABC
categories: development practices, howto, techniques

When faced with the simple task of figuring out how to use configuration to your advantage in Python there are a myriad of methods. The purpose of this talk is to walk through the standard library modules and the popular Python Package Index modules comparing and contrasting configuration formats and the code that consumes them. Specifically, I would like to walk through the use of the csv module, the ConfigParser module, ConfigObj, lxml, PyYaml and SimpleJSON.


files Files:
slides
filesizeuploadedcomment
configuration_comparison_slides.pdf 4.3 MB Thu, March 26th, 10:25 p.m. Initial upload of slides with presenter notes.
configuration_samples.zip 29.5 KB Fri, March 27th, 8:50 a.m. Initial upload of simple code examples.


video video:


  
# Permalink