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.
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.
yarn install
yarn run serve
yarn run build