title: How can I use Jupyter to run a web server and process web forms
body: <p>I'm quite experienced using Jupyter and running Python scripts with it. But I'm trying to figure out how to host Jupyter on a Cloud host for instance Digital Ocean and use it as an engine to analyse inputs and data on the web.
  Let me explain better; Assuming I want a public user to input a sample data.
  On the webpage, a typical users sees a blank form field to input his name. At the back end, Jupyter accepts the inputted string, runs and output the result back to the webpage.
  Typically on Jupyter, I would run the code below:</p>
  
  <pre><code>x = input("What is your surname")
  if x[0] &gt; G:
      print(" Please proceed to Section C")
  </code></pre>
  
  <p>This is what is expected to happen on the web, <a href="https://i.stack.imgur.com/gvy3L.png" rel="nofollow noreferrer">User webpage</a> as you can see the user does not see Jupyter.</p>
  
  <p><a href="https://i.stack.imgur.com/gvy3L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gvy3L.png" alt="enter image description here"></a></p>
  
  <p>If anyone has a guide or maybe pointing to a detailed tutorial or link will also be of good help too.</p>