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

How to download and manually install Python Executor extension for Chrome

Looking for a way to install Python Executor extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Python Executor extensions manually, this article outlines two simple methods to effortlessly install Python Executor extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Python Executor extension and manually install through Drag &Drop

If you ever need to manually install a Python Executor extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Python Executor Extension by clicking the "Download CRX" button on the website.

Look for the Python Executor extension you wish to install. Go to the website and download the Python Executor extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Python Executor extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Python Executor extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Python Executor extension for Chrome and install in Developer Mode

This is another method to install Python Executor extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Python Executor extension file

Select and download the Python Executor extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Python Executor extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Python Executor extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Python Executor extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Python Executor extension in 2 ways. We hope this guide proves helpful.

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