Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request], provide code.InteractiveConsole-like apis and classes #539

Open
evan0greenup opened this issue May 23, 2023 · 1 comment

Comments

@evan0greenup
Copy link

There is code.InteractiveConsole in standard library.

It would be nice for ptpython to provide a drop-in replacement interface to replace code.InteractiveConsole.

Currently, there is no method like runsource() or runcode() in ptpython.repl.PythonRepl.

Add compatible support would make more users who get used to use code.InteractiveConsole be more easy to use ptpython.

@ahopkins
Copy link

Agreed. Would love this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants