print type(act) type(act) will not be type("") billy/win32 is giving you some kind of COM object instead of a mere string. You'll have to figure out how to make it into a string. Jeff