def delete_notebook(self, notebook_id):
path = self.find_path(notebook_id)<EOL>if not os.path.isfile(path):<EOL><INDENT>raise web.HTTPError(<NUM_LIT>, u'<STR_LIT>' % notebook_id)<EOL><DEDENT>os.unlink(path)<EOL>self.delete_notebook_id(notebook_id)<EOL>
Delete notebook by notebook_id.