[IPython-User] [IPython-user] can't define magic for "cls"

Dr. Phillip M. Feldman Phillip.M.Feldman@gmail....
Tue Sep 20 11:15:14 CDT 2011

I would like to define a "magic" that clears the screen.  I added the
following to my ipy_user_conf.py file, to no avail:

ip.expose_magic("cls", os.system("cls")

Any suggestions will be appreciated.

View this message in context: http://old.nabble.com/can%27t-define-magic-for-%22cls%22-tp32501079p32501079.html
Sent from the IPython - User mailing list archive at Nabble.com.

More information about the IPython-User mailing list