On 7/2/2021 5:44 AM, Chris Angelico wrote:
I've just spent half an hour trying to figure out how to mess with the
Python REPL (specifically, how to implement a line-by-line interactive
interpreter within a larger app). It's rather hard to find it, but the
key module is "code".
https://docs.pytho
On Fri, Jul 2, 2021 at 11:01 PM Peter Otten <__pete...@web.de> wrote:
>
> On 02/07/2021 11:44, Chris Angelico wrote:
> > I've just spent half an hour trying to figure out how to mess with the
> > Python REPL (specifically, how to implement a line-by-line interactive
> > interpreter within a larger
On 02/07/2021 11:44, Chris Angelico wrote:
I've just spent half an hour trying to figure out how to mess with the
Python REPL (specifically, how to implement a line-by-line interactive
interpreter within a larger app). It's rather hard to find it, but the
key module is "code".
https://docs.pytho
I've just spent half an hour trying to figure out how to mess with the
Python REPL (specifically, how to implement a line-by-line interactive
interpreter within a larger app). It's rather hard to find it, but the
key module is "code".
https://docs.python.org/3/library/code.html
(How did I end up