你如何像 IPython.embed 一样嵌入 bpython repl?

问题描述

与 2014 年 issue 中的问题类似。IPython 有:

from IPython import embed; embed()

什么是 bpython 等价物?该问题中的建议不再有效:

import bpython.cli
bpython.cli.clii(locals())
bpython.cli.clii(locals(),['--otherargs'])

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)