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

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

Closed
Closed

Conversation

@experments-studios
Copy link

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.

@bedevere-app
Copy link

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 theskip news label instead.

@ZeroIntensity
Copy link
Member

Hi, please don't use ChatGPT to create PRs. If you're interested in running Python on the web, you might likePyodide.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@experments-studios@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp