Skip to content

Instantly share code, notes, and snippets.

@axil
Created August 26, 2022 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axil/ad203556427594a83fc71447d8650cfb to your computer and use it in GitHub Desktop.
Save axil/ad203556427594a83fc71447d8650cfb to your computer and use it in GitHub Desktop.
load_pyodide
%%javascript
require([
'//cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js',
], function() {
async function main() {
let pyodide = await loadPyodide();
window.pyodide = pyodide;
alert('pyodide ready');
}
main();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment