-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pygame-script ? #24
Comments
Own syntax is : <html lang="en-us"><script src="https://pygame-web.github.io/python-wasm-plus/runpy.js?cpython3.11#" type=module id="main" data-src="vtx,fs,gui" async defer>#<!--
print("Hello World")
# --></script> data-src tag hold various features : vt : means -very- simple vt100 |
black formatting issue for non standard shebang psf/black#3214 |
documentation starts here https://pygame-web.github.io/wiki/pygame-script/ |
now works well enough. though importing folders could be improved a lot |
What about supporting the
tag from https://pyscript.net/examples/ from pygbag loader ?
Which would allow to write python code directly in html
Note that Brython and Wapy use
<script type="text/python">
insteadbut we are way closer to Pyodide than Brython
The text was updated successfully, but these errors were encountered: