Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 825 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 825 Bytes

coding-problem-pyodide

Save and run Python coding snippets or problems entirely in the browser with Wasm through pyodide.

NumPy is included by default. To add other packages, in runCode() in New.vue, add the packages included in pyodide shown here, including Scipy, Matplotlib, scikit-learn, and Pandas.

Example code page

Note that pyodide does not support returning stdout—it only goes to the console. To print out a variable to the output, simply list the variable as if it was a python shell.

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build