A webtask.io example that let you run python code right from your browser!
webtask.io is a service that lets you run server-side code for your JavaScript and native applications using an API call.
This example uses a webtask (tasks/pytask.js) that will run code using the python shell on a webtask sandbox. It serves as an example of using bash commands on webtask.
DISCLAIMER: this is for demo purposes, running this in production won’t give you the best perf since I’m spawning a child process on each request. Webtask should support python natively, vote for that here
1 - $npm i
2 - $gulp build
3 - Fire up a http server.