A class for writing content to Excel and formatting it, this recipe uses the win32com module to access and control Excel.[1] [2]