1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

add initializers that run before py-script scripts run and post initializers that run after. Also add function to unescape some of the characters when read form html tags

This commit is contained in:
Fabio Pliger
2022-04-01 10:45:52 -05:00
parent be0037b5aa
commit 5ec85695b9
4 changed files with 55 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ let loadInterpreter = async function(): any {
});
// now that we loaded, add additional convenience fuctions
pyodide.loadPackage(['matplotlib', 'numpy'])
pyodide.loadPackage(['matplotlib', 'numpy', 'bokeh'])
await pyodide.loadPackage("micropip");
// await pyodide.runPythonAsync(`