Run python script from an android app : <p>i am creating an android app which basically asks a user to enter a product name and then returns the best deals available for that particular product.I wrote a python script to scrape various ecommerce websites and return various deals available. What will be the best way to run this script with the product name from the app?</p>

<p>I am planning on creating a REST aPI and integrate that with my app but how do i run a python script through a RESTApi?</p>
