JPT - ChatGPT Code Interpreter

#4.13 / 8 rate

JPT - ChatGPT Code Interpreter

2,000 users

2023-06-21

Song

Extension Information

5 star
64%
4 star
9%
3 star
18%
2 star
0%
1 star
9%

Supported Languages

Description

ChatGPT's code interpreter plugin as a chrome extension

JPT let's you run your Python code right within ChatGPT. No need for ChatGPT Plus or any ChatGPT plugins!

JPT uses Pyodide, a WASM-based Python interpreter. This means that your code executes completely within your browser. The only people who get to see your code is you and OpenAI!

Features
- Run Python code
- Edit Python code, but does not persist
- Upload files for Python to access, including Python modules
- Download files created in Python
- Standard library, numpy, matplotlib, and some other packages supported
- See output from stdout
- See plots from matplotlib

How to use
1. To run Python code, ask ChatGPT to write a hello world program in Python. Then press the "Run" button. It may take a while for the first run, but subsequent runs should be faster.
2. To edit Python code, press the "Edit" button. Once you are done editing, press "Edit" again to save.
3. To upload a file, press the "Upload" button and select the file you want to upload. You can then access the file in the current directory in Python.
4. To download a file, first save the file within Python and remember the name you saved the file as. Press the "Download" button, you will be prompted to save a file. Type in the name of the file you saved earlier, including the file extension. It must match exactly or it will not download. I'm aware this is not very user-friendly and I will make a proper UI in future versions.
5. To load your own module, upload your Python file. Then load the module dynamically. You can ask ChatGPT to give you an example of how to do this.
6. To load Python packages, use micropip. For example, to import scipy, use `micropip.install("scipy")`. You may also need to import micropip. More details here: https://pyodide.org/en/stable/usage/loading-packages.html

Known Issues
- Infinite loops will freeze JPT. Requires restarting the extension
- Input is not supported

Roadmap
- Interrupt execution
- Add indicator for initialization and execution
- Support input
- Export chat as Jupyter Notebook
- Reduce extension size

Reviews

rq wang
rq wang

numesimai scurt
numesimai scurt

The extension works as expected. If you don't see the buttons, try the extension with a new Chrome profile that will have only this extension installed, or try it with a different Chrome browser, for example Chrome Beta, Chrome Dev or Chrome Canary. The reason for this is that extensions can conflict with each other and make themselves misbehave, leading them to not work anymore. If you found that the extension works as a single extension then it must be conflicting with another extension, for this I recommend SimpleExtManager: https://chromewebstore.google.com/detail/simpleextmanager/kniehgiejgnnpgojkdhhjbgbllnfkfdk , which will allow you to easily enable/disable extensions to find the culprit for conflicting. If for example you have 100 extensions, disable the first 50 and then check if the extension works, if it's not working, disable the next 25 extensions (so 75 extensions will be disabled). If you still didn't find the culprit, always split in half the remaining extensions, and disable the first half, until you find the conflicting extension. Sometimes it can be more than 2 extensions that are conflicting.

Dan Synek
Dan Synek

Doesn't work! No buttons!

Similar extensions

ChatGPT Sidebar & GPT-4 Vision with AI Tools | AITOPIA
ChatGPT Sidebar & GPT-4 Vision with AI Tools | AITOPIA

ChatGPT Sidebar

ChatGPT Explain
ChatGPT Explain

developer101

ChatGPT to Markdown
ChatGPT to Markdown

https://chatopenai.pro

ChatGPT Prompts Manager Extension
ChatGPT Prompts Manager Extension

Xuân Nghĩa

BookmarkGPT - Bookmark Your ChatGPT Prompts
BookmarkGPT - Bookmark Your ChatGPT Prompts

https://bookmarkgpt.tech

ChatGPT Bulk Delete
ChatGPT Bulk Delete

https://chatgpt-bulk-delete.qcrao.com

SmartBird - ChatGPT
SmartBird - ChatGPT

Wolfa

ChatGPT Code Highlighter
ChatGPT Code Highlighter

Tantris

Chat GPT
Chat GPT

https://chataigpt.pro

ChatGPT Assistant for Chrome | SidebarGPT
ChatGPT Assistant for Chrome | SidebarGPT

https://sidebargpt.com

ChatExtension - A ChatGPT Extension
ChatExtension - A ChatGPT Extension

https://anxinyang.dev

ChatGPT in Google
ChatGPT in Google

hello