from IPython.iplib import InteractiveShell
#magic function about
def magic_about(self,parameter_s=''):
"""Equivalent to ... """
print "hello world"
InteractiveShell.magic_about = magic_about
del magic_about
http://pages.physics.cornell.edu/~myers/teaching/ComputationalMethods/python/ipython.html
http://ipython.scipy.org/moin/IpythonExtensionApi
Amazon
Saturday, December 8, 2007
magic commands in iPython
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment