recent python victories
So you all probably thought that I just ditched the whole python thing after my “wildly successful” system tray utility for Big Brother, didn’t you? Well, that is not the case.
I have had a couple recent victories at work with python. The first came when I learned that I needed to have all returning students email addresses from years past still available on the new email system (even though we moved to a new format for student email addresses over the summer). I needed some way to import 1,400 email addresses into active directory in a relatively pain free manner. I managed to get an LDIF extract of the data I needed, and then wrote a python script that used the python ldap module to parse the file and output an LDIF file with the old email addresses as well as the new ones to import back into AD with ldifde. It worked great.
The next victory was during the virus outbreak when I needed a good way to quickly identify offending computers from Ethereal sniffs with tens of thousands of packets. I created a script that parsed the Ethereal output and generated a list of offending PCs (those infected with the virus).
The most recent program I made is a wireless network card monitor for Cisco based wifi cards under Linux. The cards have to use the cisco-source driver. The util reports signal strength, quality, SSID, and associated AP.
I will make all three of these scripts/programs available on my site when I get the chance.
christian