Created
August 26, 2022 11:33
-
-
Save axil/ad203556427594a83fc71447d8650cfb to your computer and use it in GitHub Desktop.
load_pyodide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%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