Skip to content

Commit 7aad6df

Browse files
committed
Added zero install example
1 parent 4110820 commit 7aad6df

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

brython/zero_install/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.8.9/brython.min.js" async></script>
6+
</head>
7+
<body onload="brython()">
8+
<script type="text/python">
9+
import browser
10+
print("Before Alert")
11+
browser.alert('Hello Real Python!')
12+
browser.console.log("After Alert")
13+
</script>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)