mirror of
https://github.com/pyscript/pyscript.git
synced 2026-02-13 07:01:00 -05:00
* implement proposal * update docs and replace py-env * more docs * suggested proposal * update docs * add to_file parameter * remove comment from Makefile * suggested improvements * move tests from basic to py_config * retain leading slash from the first path
21 lines
541 B
HTML
21 lines
541 B
HTML
<html>
|
|
<head>
|
|
<title>Antigravity</title>
|
|
<meta charset="utf-8">
|
|
<link rel="icon" type="image/x-icon" href="./favicon.png">
|
|
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
|
|
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
|
|
</head>
|
|
<body>
|
|
<py-config>
|
|
[[fetch]]
|
|
files = ["./antigravity.py"]
|
|
</py-config>
|
|
<b>Based on xkcd: antigravity https://xkcd.com/353/.</b>
|
|
<py-script>
|
|
import antigravity
|
|
antigravity.fly()
|
|
</py-script>
|
|
</body>
|
|
</html>
|