Just FYI I have updated this to support a few extra functions and have generated some (less than useful) documentation which I have here. http://www.anykeysoftware.co.uk/compiz/pydoc/compiz.html