Renamed for clarity
This commit is contained in:
14
snippets/pyodide-generalusage.html
Normal file
14
snippets/pyodide-generalusage.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<script type="text/javascript">
|
||||
async function main() {
|
||||
let pyodide = await loadPyodide();
|
||||
console.log(
|
||||
pyodide.runPython(`
|
||||
import sys
|
||||
sys.version
|
||||
`)
|
||||
);
|
||||
}
|
||||
main();
|
||||
</script>
|
||||
|
||||
<!-- Source: https://pyodide.org/en/stable/usage/quickstart.html -->
|
||||
Reference in New Issue
Block a user