save the current content to the HMTL file
(self)
| 66 | p(txt) |
| 67 | |
| 68 | def save(self): |
| 69 | """save the current content to the HMTL file""" |
| 70 | html_file = '%s/index.html' % self.web_dir |
| 71 | f = open(html_file, 'wt') |
| 72 | f.write(self.doc.render()) |
| 73 | f.close() |
| 74 | |
| 75 | |
| 76 | if __name__ == '__main__': # we show an example usage here. |
no outgoing calls
no test coverage detected