mirror of
https://github.com/pyscript/pyscript.git
synced 2022-05-01 19:47:48 +03:00
redirect default output to console.log
This commit is contained in:
@@ -102,6 +102,7 @@ let loadInterpreter = async function(): any {
|
|||||||
/* @ts-ignore */
|
/* @ts-ignore */
|
||||||
let pyodide = await loadPyodide({
|
let pyodide = await loadPyodide({
|
||||||
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/",
|
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/",
|
||||||
|
stdout: console.log
|
||||||
});
|
});
|
||||||
|
|
||||||
// now that we loaded, add additional convenience fuctions
|
// now that we loaded, add additional convenience fuctions
|
||||||
|
|||||||
Reference in New Issue
Block a user