code: def create_title_page(self, filename, title=''):
          
          fobj = open(filename, "w")
          fobj.write(self.header % (title, self.style))
  
          fobj.write("<h1>%s</h1>\n" % title)
          fobj.write("<h2>Memory distribution over time</h2>\n")
          fobj.write(self.charts['snapshots'])
  
          fobj.write("<h2>Snapshots statistics</h2>\n")
          fobj.write('<table id="nb">\n')
  
          classlist = list(self.index.keys())
          classlist.sort()
  
          for snapshot in self.snapshots:
              fobj.write('<tr><td>\n')
              fobj.write('<table id="tl" rules="rows">\n')
              fobj.write("<h3>%s snapshot at %s</h3>\n" % (
                  snapshot.desc or 'Untitled',
                  pp_timestamp(snapshot.timestamp)
              ))
  
              data = {}
              data['sys']      = pp(snapshot.system_total.vsz)
              data['tracked']  = pp(snapshot.tracked_total)
              data['asizeof']  = pp(snapshot.asizeof_total)
              data['overhead'] = pp(getattr(snapshot, 'overhead', 0))
  
              fobj.write(self.snapshot_summary % data)
  
              if snapshot.tracked_total:
                  fobj.write(self.snapshot_cls_header)
                  for classname in classlist:
                      data = snapshot.classes[classname].copy()
                      data['cls'] = '<a href="%s">%s</a>' % (self.relative_path(self.links[classname]), classname)
                      data['sum'] = pp(data['sum'])
                      data['avg'] = pp(data['avg'])
                      fobj.write(self.snapshot_cls % data)
              fobj.write('</table>')
              fobj.write('</td><td>\n')
              if snapshot.tracked_total:
                  fobj.write(self.charts[snapshot])
              fobj.write('</td></tr>\n')
  
          fobj.write("</table>\n")
          fobj.write(self.footer)
          fobj.close()
docs: Output the title page.