@@ -11,7 +11,7 @@ Try Pyodide in a [REPL](https://pyodide.org/en/latest/console.html) directly in
11
11
To include Pyodide in your project you can use the following CDN URL:
12
12
13
13
``` {eval-rst}
14
- https://cdn.jsdelivr.net/pyodide/dev /full/pyodide.js
14
+ https://cdn.jsdelivr.net/pyodide/v0.18.0 /full/pyodide.js
15
15
```
16
16
17
17
You can also download a release from [ Github
@@ -24,7 +24,7 @@ and returns {js:mod}`the Pyodide top level namespace <pyodide>`.
24
24
25
25
``` pyodide
26
26
async function main() {
27
- let pyodide = await loadPyodide({ indexURL : "https://cdn.jsdelivr.net/pyodide/dev /full/" });
27
+ let pyodide = await loadPyodide({ indexURL : "https://cdn.jsdelivr.net/pyodide/v0.18.0 /full/" });
28
28
// Pyodide is now ready to use...
29
29
console.log(pyodide.runPython(`
30
30
import sys
@@ -60,15 +60,15 @@ Create and save a test `index.html` page with the following contents:
60
60
<!DOCTYPE html>
61
61
<html>
62
62
<head>
63
- <script src="https://cdn.jsdelivr.net/pyodide/dev /full/pyodide.js"></script>
63
+ <script src="https://cdn.jsdelivr.net/pyodide/v0.18.0 /full/pyodide.js"></script>
64
64
</head>
65
65
<body>
66
66
Pyodide test page <br>
67
67
Open your browser console to see Pyodide output
68
68
<script type="text/javascript">
69
69
async function main(){
70
70
let pyodide = await loadPyodide({
71
- indexURL : "https://cdn.jsdelivr.net/pyodide/dev /full/"
71
+ indexURL : "https://cdn.jsdelivr.net/pyodide/v0.18.0 /full/"
72
72
});
73
73
console.log(pyodide.runPython(`
74
74
import sys
@@ -88,7 +88,7 @@ Create and save a test `index.html` page with the following contents:
88
88
<!DOCTYPE html>
89
89
<html >
90
90
<head >
91
- <script src =" https://cdn.jsdelivr.net/pyodide/dev /full/pyodide.js" ></script >
91
+ <script src =" https://cdn.jsdelivr.net/pyodide/v0.18.0 /full/pyodide.js" ></script >
92
92
</head >
93
93
94
94
<body >
@@ -115,7 +115,7 @@ Create and save a test `index.html` page with the following contents:
115
115
// init Pyodide
116
116
async function main () {
117
117
let pyodide = await loadPyodide ({
118
- indexURL: " https://cdn.jsdelivr.net/pyodide/dev /full/" ,
118
+ indexURL: " https://cdn.jsdelivr.net/pyodide/v0.18.0 /full/" ,
119
119
});
120
120
output .value += " Ready!\n " ;
121
121
return pyodide;
0 commit comments