title: Passing user input to python script and displaying results
body: <p>I'm still learning Python and even more so, how to interact between Python and HTML. I'm trying to pass user input to a python script located on the server that utilizes an API and then return results to the user on the webpage. So far this is where I'm stuck at (aka the beginning).</p>
  
  <pre><code>&lt;input type="text" id="fileName" name="fileName" placeholder="File Name" required&gt;&lt;/input&gt;
  &lt;button type"submit" value="Submit" onclick="runPython"&gt;&lt;/button&gt;
  </code></pre>
  
  <p>Here I'm still need Java/JQuery to interact with the Python script located in /environments/threatcrowd.py. And below is the Python script to interact with the API to pull results from ThreatCrowd.</p>
  
  <pre><code>#!/usr/bin/python
  import requests, json
  result = requests.get("http://www.threadcrowd.org/searchApi/v2/domain/report/", params = {"domain": "facebook.com"})
  print(result.text)
  </code></pre>