Execute Python code on ChatGPT via Chrome extension.
Generated by ChatGPT

JPT is a Chrome extension that allows users to run Python code directly within ChatGPT instead of copying and pasting code back and forth. Users can take advantage of the full power of the Python ecosystem with access to libraries such as numpy, scipy, and matplotlib.

The tool uses Pyodide, a WASM-based Python interpreter, which means that code execution occurs completely within the browser. The only parties that can view code are the user and OpenAI.

However, the extension still has some bugs and requires additional development before it can provide a true Jupyter Notebook experience in ChatGPT.To use JPT, users can request ChatGPT to write a hello world program in Python, and then press the "Run" button.

The first run may take some time, but subsequent runs should be faster. Users can edit Python code by pressing the "Edit" button, which does not persist but is available for present use.

Additionally, to import Python packages, users can use micropip, such as `micropip.install("scipy")`. JPT provides the ability to run Python code, edit Python code, view output from stdout, and view plots from matplotlib.

However, JPT may freeze if an infinite loop occurs, requiring a restart of the extension. JPT does not support user input, but the developers aim to add this feature in the future, along with supporting local filesystems, exporting chats as notebooks, and reducing the extension's size.

Save

Would you recommend JPT?

Help other people by letting them know if this AI was useful.

Post

Feature requests

Are you looking for a specific feature that's not present in JPT?
JPT was manually vetted by our editorial team and was first featured on June 22nd 2023.
Promote this AI Claim this AI

Pros and Cons

Pros

Runs Python in-browser
Access to numpy, scipy, matplotlib
Runs on ChatGPT
Secure code execution
Python code editing
Displays stdout output
Displays matplotlib plots
Supports micropip
Future support for user input
Plans for local filesystem support
Plans to handle infinite loops
Planned feature for exporting chats
Makes Python accessible from Chrome
Plans for reducing extension size

Cons

Limited to Chrome
Runs slow on first execution
Bugs present
Infinite loop issues
Lacks user input support
Doesn't support local filesystems
No export chats feature
Possesses large extension size
Code edits don't persist
Lacks complete Jupyter Notebook experience

Q&A

What is JPT?
How does JPT integrate with ChatGPT?
What features does JPT offer?
What libraries and packages does JPT support?
Can I run Python code directly in ChatGPT using JPT?
How to edit Python code using JPT?
Can JPT execute Python code completely within my browser?
How do I use the 'Edit' feature on JPT?
Why does the first run of a program in JPT take some time?
What is the function of Pyodide in JPT?
How can I import Python packages in JPT?
What should I do if JPT freezes?
Why does JPT require a restart if an infinite loop occurs?
What is the roadmap for JPT's future development?
Are there any known issues with JPT?
Which parties can view my code when executed via JPT?
Does JPT support user input in Python code execution?
Does JPT support local filesystem?
Is it possible to export chats as notebooks using JPT?
How can I reduce the extension size of JPT on my Chrome?

Help

⌘ + D bookmark this site for future reference
⌘ + ↑/↓ go to top/bottom
⌘ + ←/β†’ sort chronologically/alphabetically
↑↓←→ navigation
Enter open selected entry in new tab
⇧ + Enter open selected entry in new tab
⇧ + ↑/↓ expand/collapse list
/ focus search
Esc remove focus from search
A-Z go to letter (when A-Z sorting is enabled)
+ submit an entry
? toggle help menu
βœ•
0 AIs selected
Clear selection
#
Name
Task