.. include:: headings.inc .. module:: py.magic .. currentmodule:: py.magic .. highlight:: python .. _py.magic: ========================================================================================================================================== |phoenix_title| **magic** ========================================================================================================================================== magic.py is a utility that allows a simple line from the interpreter be translated from a more bash-like form to a python form. For instance, 'plot a' is transformed to 'plot(a)' Special exceptions are made for predefined ls,cd, and pwd functions |function_summary| Functions Summary ==================================== ================================================================================ ================================================================================ :func:`~py.magic.magic` :func:`~py.magic.magicSingle` ================================================================================ ================================================================================ | Functions ------------ .. function:: magic(command) .. function:: magicSingle(command)