Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a8ed08

Browse files
committed
Call fly in antigravity.html
1 parent8951f76 commit3a8ed08

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎pyscriptjs/examples/antigravity.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
<scriptdefersrc="../build/pyscript.js"></script>
88
</head>
99
<body>
10-
<b>
11-
Based on xkcd: antigravity https://xkcd.com/353/.
12-
</b>
13-
<py-scriptsrc="antigravity.py"></py-script>
10+
<b>Based on xkcd: antigravity https://xkcd.com/353/.</b>
11+
<py-script>
12+
import antigravity
13+
antigravity.fly()
14+
</py-script>
1415
</body>
1516
</html>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp