title: Execute a python script from a Ruby on Rails webserver
body: <p>Is there a conventional way to run python scripts from a Ruby on Rails webserver?</p>
  
  <p>I have a Ruby on Rails site that is currently deployed to Heroku (I can deploy to AWS or wherever this is possible). </p>
  
  <p>I would like for people to upload, and execute arbitrary python scripts on certain page requests (that we review for security). The python scripts should be relatively short running (few seconds tops), mostly to parse or process data.  Ideally we would let users upload a script in any language, but python is the most important for now. </p>