title: Create a SimpleHTTPServer to use the python code as API
body: <p>Is there a way to make my python script served by a Simple HTTP server and call the script functions from the outside (in an other program) in a API philosophy?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Ok, thanks to @upman's answer, I know that I can use <code>SimpleXMLRPCServer</code> for that, the question still: how to listen to the XML-RPC Server in an other program written with an other language than python (Node.js for example ) </p>