Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.4k
python for web#141188
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
python for web#141188
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
ZeroIntensity commentedNov 7, 2025
Hi, please don't use ChatGPT to create PRs. If you're interested in running Python on the web, you might likePyodide. |
StanFromIreland commentedNov 7, 2025
This is the second time you have opened this PR#141051, please stop spamming! |
experments-studios commentedNov 9, 2025
I didn't do it with artificial intelligence here. I used artificial intelligence while replacing the commands in my own programming language, constlang, with Python commands. If you want, you can check out constlang from my GitHub profile. |
Hello, I created a folder called WEB in cpython. Inside this folder, I created a compiler that converts Python code into JavaScript code. Thanks to this compiler, Python code can now run on the web. However, this compiler doesn't include all Python features; it only supports some, such as creating variables, printing to the console, and other features. You can verify this by examining the compiler's source code. To start the compiler, the user presses F12, opens the console, and types Zstart(). All Python files in the project are selected. This is then launched. However, the compiler starts from the project's home page, main.py. It performs the evaluation and produces output within a few seconds. Then, the user types Zinstall() to the console to download the evaluated JavaScript file, allowing the Python code to run on the web.