Did I find the right examples for you? yes no

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/p/d/pdf_miner_app_engine-HEAD/example/pdf_to_text_webapp.py   pdf_miner_app_engine(Download)
  def get(self):
    """Display upload HTML form."""
    self.write("<html><body>")
    self.write("<h1>Upload Text PDF</h1>")
    self.write('<form action="%s" method="POST" enctype="multipart/form-data">' \
                 % os.environ['PATH_INFO'])
    self.write('<input type="file" name="pdf_file" />')
    self.write('<input type="submit" value="Submit" />')