[IPython-dev] Extensions arguments and cell types

Thomas Kluyver takowl at gmail.com
Thu Jul 25 18:50:37 EDT 2013


On 25 July 2013 15:53, lecast <martin.zmk at gmail.com> wrote:

> Where I want to do
>
> %load_ext ipyBibtex path/to/file.bib 3
>

I don't think we're going to support passing arguments when loading an
extension. You could make a magic command like '%bibtex path/to/file.bib
3', and configure it to load the extension on startup, if you want to save
typing.


> As for js extensions are you referring me to
> https://github.com/ipython-contrib/IPython-notebook-extensions ? And can
> %load_ext be used to load the bundle (py+js)?
>

At present, %load_ext is only for .py extensions. We plan to work out a
good way to have py+js extensions, but it's not there yet.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130725/45623fac/attachment.html>


More information about the IPython-dev mailing list