在IPython中缺少背景魔术命令(%bg)

时间:2012-05-30 15:32:24

标签: ipython

IPython文档引用了%bg魔术函数。但是,当我尝试在0.12.1中使用它时,找不到它。我错过了一些明显的东西吗?

In [38]: %bg
ERROR: Magic function `bg` not found.

%lsmagic给出:

In [46]: %lsmagic
Available magic functions:
%alias  %autocall  %automagic  %bookmark  %cd  %clear  %cls  %colors  %config %connect_info  %debug  %dhist  %dirs  %doctest_mode  %ed  %edit  %env  %gui  %guiref  %hist  %history  %install_default_config  %install_profiles  %less  %load_ext  %loadpy  %logoff  %logon  %logstart  %logstate  %logstop  %lsmagic  %macro  %magic  %more  %notebook  %page  %pastebin  %pdb  %pdef  %pdoc  %pfile  %pinfo  %pinfo2  %popd  %pprint  %precision  %profile  %prun  %psearch  %psource  %pushd  %pwd  %pycat  %pylab  %qtconsole  %quickref  %recall  %rehashx  %reload_ext  %rep  %rerun  %reset  %reset_selective  %run  %save  %sc  %store  %sx  %tb  %time  %timeit  %unalias  %unload_ext  %who  %who_ls  %whos  %xdel  %xmode

1 个答案:

答案 0 :(得分:1)

自从IPython重构0.11以来,%bg魔法尚未恢复,但是重新实现它的库代码has been updated

这是一个open Issue,拉请求总是受欢迎的。