IPython extension API — IPython v0.9.1 documentation
Calling magic functions and system commands¶
Use ip.magic() to execute a magic function, and ip.system() to execute a system command:
# go to a bookmark ip.magic('%cd -b relfiles') # execute 'ls -F' system command. Interchangeable with os.system('ls'), really. ip.system('ls -F')
ipython で history って打ったら
188: _ip.magic("history ")
とか出たので気になった次第。_ついていないので違うかもしれない。

