[IPython-dev] [nbconvert] Reining in the number of constructor arguments
Thomas Kluyver
takowl at gmail.com
Sat Dec 1 06:26:22 EST 2012
On 1 December 2012 00:34, David Warde-Farley <d.warde.farley at gmail.com>wrote:
> It seems like the right place for this code would be in a class method
> attached to each
> Converter class. Then nbconvert.py could iterate over the classes it
> knows about and
> call cls.cli_argument_parser(), and add that to the global one.
>
Have a look at the Configurable/Application framework we use in the main
IPython codebase - I think this should be flexible enough to use in
nbconvert as well.
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20121201/00b878b1/attachment.html>
More information about the IPython-dev
mailing list