code: def DumpAsCSV (self, separator=",", file=sys.stdout):
                  
                  for row in range(1, self.maxRow + 1):
                          sep = ""
                          for column in range(1, self.maxColumn + 1):
                                  file.write("%s\"%s\"" % (sep, self.GetCellValue(column, row, "")))
                                  sep = separator
                          file.write("\n")
docs: dump as a comma separated value file