[IPython-dev] magic and imports on engines

Ondrej Marsalek ondrej.marsalek at matfyz.cz
Tue May 15 06:54:02 EDT 2007


i hope this is not too inappropriate on a dev list but i was not able
to find the info elsewhere.

is there a way to run magic commands on the remote engines? they don't
seem to recognize the magic % syntax and even the "full" syntax, eg.
px _ip.magic('pwd'), raises a NameError.

the other thing - i changed to a directory (using os.chdir) where i
have a package directory and tried to import this on the engines (it
works in a normal ipython shell). this raises an ImportError.

any help greatly appreciated,
ondrej marsalek

More information about the IPython-dev mailing list