PTPython REPL in IDLE
Have y’all seen ptpython’s autocomplete and syntax highlighting features? Ptpython, usually used as a cli application, might be worth integrating into IDLE.
On Wed, Sep 12, 2018 at 05:15:51PM -0400, James Lu wrote:
Have y’all seen ptpython’s autocomplete and syntax highlighting features?
No. Do you have a link? What specific features have excited you? The standard Python REPL now comes with autocomplete turned on by default. How does that compare?
Ptpython, usually used as a cli application, might be worth integrating into IDLE.
Is there a reason why Ptpython should be preferred over, say, bpython? https://bpython-interpreter.org/ Not that I'm suggesting bpython, its just that I've used bpython. -- Steve
Have y’all seen ptpython’s autocomplete and syntax highlighting features?
No. Do you have a link? What specific features have excited you?
IPython autocomplete is now powered by ptpython and Jedi. So if you’ve used it recently you’re already familiar with it. In the context of IDLE it seems like Jedi is the relevant piece of technology. Ptpython is short for “prompt toolkit Python”, ie command line/text mode. / Anders
participants (3)
-
Anders Hovmöller
-
James Lu
-
Steven D'Aprano