No description, website, or topics provided.
CSS JavaScript HTML Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tasks
.gitignore
.jshintrc
canirequire.js
canirequire.js.map
codemirror.css
gulpFile.js
index.html
index.js
oatIBz2wvj.gif
package.json
pytask.js
pytask.js.map
readme.md

readme.md

Pytask

Alt pytask example

A webtask.io example that let you run python code right from your browser!

What's this?

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

Build

1 - $npm i

2 - $gulp build

3 - Fire up a http server.