title: Symple Python script running on API
body: <p>I need to setup a very light server consisting of a Python script that is invoked by an API call. The pipeline is the following:</p>
  
  <p>1) The front-end sends an API call that has several arguments. </p>
  
  <p>2) The Python script is invoked via the API arguments, does something, and returns a JSON with some data.</p>
  
  <p>Seems easy, but I'm stuck on how exactly make this happen. I know Python, but have a little experience in servers, setting up a server, and talking to a script via the server. Would appreciate a step-by-step guide, or a link to learn more.</p>