-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (47 loc) · 1.28 KB
/
Copy pathindex.html
File metadata and controls
55 lines (47 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!doctype html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Python Editor</title>
<script src="/enable-threads.js" defer></script>
</head>
<body>
<h1>Python Editor</h1>
<h2 id="editor-label">Editor</h2>
<div id="editor"></div>
<p>
<a
href="https://pyodide.org/en/stable/usage/packages-in-pyodide.html"
target="_blank"
rel="noopener noreferrer"
>
View available packages
</a>
</p>
<h2 id="input-label">Input</h2>
<textarea id="input" aria-labelledby="input-label" rows="5">0</textarea>
<div>
<button type="button" id="run">Run</button>
<button type="button" id="format">Format & Copy</button>
</div>
<h2 id="state-label">State</h2>
<p id="state">None</p>
<h2 id="output-label">Output</h2>
<textarea
id="output"
aria-labelledby="output-label"
rows="5"
readonly
></textarea>
<h2 id="error-label">Error</h2>
<textarea
id="error"
aria-labelledby="error-label"
rows="5"
readonly
></textarea>
<script type="module" src="/src/main.ts"></script>
</body>
</html>