On Wed, 15 Sep 2021 16:08:32 +0200, Peter Otten <__pete...@web.de>
declaimed the following:

>
>I tried
>
>import code
>
>x = 42
>code.interact(local=globals())
>
>but didn't bother to read the documentation at
>
>https://docs.python.org/3/library/code.html
>
>and thus do not know what the limitations might be.

        Well, offhand, I'd say you need to provide a function to be used for
raw_input (which will have to provide prompts, etc.).


-- 
        Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfr...@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to