Python @SBP
My first encounter with python was the embedded scripting engine inside XBMC. The code that came with some of the XMBC add-ons sparked my Python interest to the extent that I picked up a couple of O’Reilly books on the topic and started learning the language.
When I joined Schuberg Philis, a few colleagues had Python skills, but Schuberg’s Python community was too small to ensure maintainability. This didn’t stop me from writing a couple of scripts in places where it made sense to use Python, like automating tasks in a Websphere environment using Jython (no, there is no Jerl ) and in writing one-off scripts where maintainability was not an issue. As a friendly language advocacy, some of the other engineers jokingly referred to Python as being “Perl for Germans”.
In the meantime more Python enthusiasts joined the company, resulting in more and more useful Python stuff being developed, checked into the repositories and actually being used on a daily basis. This including tooling for:
- Weblogic deployment
- Patch management on RedHat systems
- Reporting on incidents
- etc, etc.
So, all things considered, an in-house Python training looked like a good idea. Based on a one day Python training by Steve Holden I took at LISA2008, we approached Steve for a 2 day on-site training at Schuberg Philis HQ. So last week, this actually happened and about 10 of us joined the training.
After going through the python language features (datatypes, mutable vs immutable, namespaces, assignments, staments, functions, exception, modules, OOP, re module), we spend the last afternoon of the training in a free format discussion, touching an a lot of interesting topics like:
- iteration protocol an generator functions
- Pickling, marshalling and shelving objects
- Kodos, regular expression build and test tool
- Multithreading vs multiprocessing
- Network programming
- Unit testing
Everyone took something different away from the training. Some of my gems are:
- “Pyton Module of the week”, which has picked up a new subscriber
- the fact that there is an XML element tree in the standard library (which saves me from installing LXML all over the place), which was not covered in the 2.2 based “Learning Python book”.
The training was great and has certainly broadened as well as deepened our Python skills. So, if Python is Perl for Germans, I’m, proud to quote JFK in saying “Ich bin ein Berliner” . Let’s see more Python at @Schuberg Philis in 2011 and beyond!