Skip to content

Commit 9e3e511

Browse files
committed
Automated deployment: Mon Dec 14 17:07:36 UTC 2020 RustPython/RustPython@21e0ad6
1 parent 9297278 commit 9e3e511

File tree

70 files changed

+767
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+767
-10
lines changed

1.index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ <h1>RustPython Demo</h1>
1414
browser's devtools and play with <code>rp.pyEval('1 + 1')</code>
1515
</p>
1616
<div id="code-wrapper">
17-
<textarea id="code">
18-
n1 = 0
17+
<textarea id="code">n1 = 0
1918
n2 = 1
2019
count = 0
2120
until = 10
@@ -26,7 +25,6 @@ <h1>RustPython Demo</h1>
2625
print(n1)
2726
n1, n2 = n2, n1 + n2
2827
count += 1
29-
3028
</textarea>
3129
<select id="snippets">
3230

@@ -96,6 +94,13 @@ <h3>Interactive shell</h3>
9694
</li>
9795
</ul>
9896

97+
<p>
98+
Limited Interaction with browser is possible from Python by using
99+
the <code>browser</code> module. Browser APIs such as
100+
<code>alert()</code>, <code>confirm()</code>, <code>prompt()</code>
101+
and <code>fetch()</code> are included in the module.
102+
</p>
103+
99104
<a href="https://github.com/RustPython/RustPython">
100105
<img
101106
style="position: absolute; top: 0; right: 0; border: 0;"

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

notebook/1.index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
21.7 MB
Binary file not shown.
69.3 KB
Binary file not shown.
36 KB
Binary file not shown.
30.4 KB
Binary file not shown.
15.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)