Executes the Python code (GUI) of ChatGPT or the site you are viewing. (In ChatGPT, an icon will be displayed, click to execute)

Latest Version

Version
1.4
Update
May 12, 2024
Size
15.15KiB
Developer
python-executor.blogspot.com
Category
Users
270
Rating
4 ★
Manifest Version
3
Web Store Status
Languages Support
English
日本語
See more
Permissions
ClipboardRead
See more

Python Executor Extension

With this version update, you can easily run ChatGPT's PythonCode.
(Bugfix version: Icon is hidden in chatGPT, because the URL has changed)

WebPage has many sample codes that are useful for learning and checking code. However, executing it is troublesome, but by using this function you can execute it immediately (GUI compatible).
(1 step: Just click this icon on the CharGPT site)
(3 steps: For other sites, select, Ctrl+c, click the expansion icon)

You can immediately execute the target code after changing it. (with some sample buttons)
・Display Python code with the Code button etc.
・Change the code
・Click the RUN button to execute
(Use the RUN and STOP buttons to run and stop Python code)

Benefits (ChatGPT site)
Let's install the extension. Check the executable Python code in the GPT answer, and the icon of this extension will be displayed below it.
It is convenient because the execution results are displayed immediately with a click.

Advantages (other than ChatGPT sites)
You can immediately run Python code (GUI compatible)
Select the code to be executed using the mouse or keyboard. Just copy it to the clipboard with \"Ctrl+C\" and click the extension icon.

Switch display
Default display allows GUI, standard input and output
GUI button: Display in GUI (Tkinter, PySimpleGUI, etc. can be seen)
Out button: GUI and standard input and output (pyhton language input and print possible)
Pnl button: source, GUI, standard input, output

(important point)
*Does not work with languages other than Python, local files cannot be used as it uses a server
*Files on the browser side cannot be accessed *Python is executed on the server for GUI support
(Irregular maintenance required)
*Please post any bugs or requests from the support page.
*Support page is in Japanese, but English is also available
*For security reasons, please do not write personal information such as user ID or key in the code (enter it using input)
*print statement now works without \"flush=True\"
*Errors will be colored on the corresponding line in the code pane
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "version": "1.4", "name": "Python Executor", "description": "__MSG_ext_desc__", "default_locale": "en", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "action": { "default_popup": "popup.html" }, "permissions": [ "clipboardRead" ], "web_accessible_resources": [ { "resources": [ "icon16.png", "icon48.png", "icon128.png" ], "matches": [""] } ], "content_scripts": [ { "matches": ["https://chatgpt.com/c/*"], "js": ["matches.js"] } ] }
Read more

Similar Extensions

icon

Codex Executor [Latest Version] Extension · Fun 270 3 ★ 22.26KiB

icon

Your Python Editor (Beta) Extension · Developer Tools 270 6 ★ 1.81MiB

icon

Python-Fiddle Extension · Developer Tools 270 2 ★ 5.19MiB

icon

Python Shell Extension · Developer Tools 270 207 ★ 8.31MiB

icon

Copy as Python Requests Extension · Developer Tools 270 2 ★ 23.94KiB

icon

Pyrun Extension · Developer Tools 270 4 ★ 240KiB

icon

PyConsole: Python shell uncomplicated Extension · Developer Tools 270 6 ★ 23.43KiB

icon

Wave Executor [Latest] Extension · Fun 270 5 ★ 243KiB

icon

Python Assist Extension · Developer Tools 270 2 ★ 27.67KiB

icon

Python Runner Extension · Developer Tools 270 0 ★ 5.48KiB

icon

Hydrogen Executor [Latest Version] Extension · Productivity 270 5 ★ 61.93KiB

icon

Delta Executor [Latest Version] Extension · Productivity 270 29 ★ 80.53KiB

icon

Delta Executor Tool For Games Extension · Productivity 270 5 ★ 50.82KiB

icon

Script Executor Extension · Developer Tools 270 36 ★ 283KiB

icon

CodeRun Extension · Productivity 270 4 ★ 87.5KiB

icon

Visual Python for Colab Extension · Developer Tools 270 7 ★ 14.84MiB

icon

Roexec Executor [Latest Version] Extension · Fun 270 0 ★ 102KiB

icon

QuickPy Python Interpreter Extension · Productivity 270 12 ★ 184KiB

icon

JPT - ChatGPT Code Interpreter Extension · Developer Tools 270 8 ★ 54.8MiB

icon

Online GitHub Python Interpreter Extension · Developer Tools 270 0 ★ 338KiB

icon

RunGPT: Execute ChatGPT Code Extension · Productivity 270 16 ★ 147KiB

icon

Selenium Auto Code Generator (Python) Extension · Developer Tools 270 2 ★ 924KiB

icon

Swindle Extension · Developer Tools 270 1 ★ 19.57MiB

icon

Python Tutor - Wiingy Extension · Productivity 270 3 ★ 10.28KiB