Fixed a missing ): at the end of a for loop line in the script.  Bonehead mistake.  Script verified to now execute with the following dependencies installed: httplib2, mysqldb, and elementtree.