[IPython-dev] Announcing BrowserCast: a Notebook-based presentation tool
Matthias BUSSONNIER
bussonniermatthias at gmail.com
Thu May 23 02:58:54 EDT 2013
Le 23 mai 2013 à 06:26, David Wolever a écrit :
>
> On 2013-05-22, at 6:25 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> For now %install_ext can only handle a single Python module. For larger things, you can create a regular Python package that people install with pip: IPython extensions work from any importable location.
>
> Oh? Because the API docs for IPython.core.extension[0] suggest:
>> If filename is given, the file will be so named (inside the extension directory). Otherwise, the name from the URL will be used. The file must have a .py or .zip extension; otherwise, a ValueError will be raised.
>
> [0]: http://ipython.org/ipython-doc/dev/api/generated/IPython.core.extensions.html
%Install_ext is provided as a convenience to **install** single extension files. But modules can ship multiple extension packaged as python files; for example with sympy you can use
%load_ext sympy.interactive.ipythonprinting
within only installing sympy with pip.
--
Matthias
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list