Hacker News new | ask | show | jobs
by jnwatson 2822 days ago
See https://docs.python.org/3.7/extending/embedding.html.

The idea behind embedding is you might have a Python shell in a larger app. But you can also use it to tightly control the execution of the interpreter.