title: How to call a python script from a web page
body: <p>I'm pretty new to Python and Web applications, so I apologize for possible terms/keywords mix up.</p>
  
  <p>I have a Python script that runs a json-rpc server, exporting some management APIs of a device.
  I've written another Python script to implement a CLI control application (using Python's cmd module). Everything is run in an Ubuntu12.04 machine.</p>
  
  <p>Now, I would like to replace the CLI application with a very simple web page (Is it called a web application? Or a web service? Maybe a WSGI? Something else?). The page should present a way to call an API, with arguments set by the user, and possibly display the result.
  What's the best way (min learning curve and min development time...) to proceed?</p>
  
  <p>Should I write some PHP code (from searching OS, it seems a popular way to go) and call another Python script from it?
  Can I do it entirely with Python (probably yes, but will it be easy?)?</p>
  
  <p>Any hints/directions/suggestions will be much appreciated, thanks!</p>