我想将模块中的所有内容导入IPython会话中的全局命名空间。所以我尝试from <module> import *
,但这不起作用。虽然这在python会话中按预期工作。我怎么能在IPython中做到这一点?
我意识到这是不好的做法,但我只是想为常用模块的交互式会话做这件事。
答案 0 :(得分:0)
from ROOT import *
。以下是ROOT 5.34 / 09的警告:
UserWarning: "from ROOT import *" is not supported under IPython