by joppy · 4y ago · 0 comments
import worker
worker.run()
The PEP explicitly mentions this, and that something like subinterpreter.run(func, ...) could be considered in the future: https://peps.python.org/pep-0554/#interpreter-callNo comments yet.