Re: Unfindable module: code

2021-07-03 Thread Terry Reedy
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

Re: Unfindable module: code

2021-07-02 Thread Chris Angelico
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

Re: Unfindable module: code

2021-07-02 Thread Peter Otten
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

Unfindable module: code

2021-07-02 Thread Chris Angelico
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