[IPython-dev] Nbparameterise: simple forms for notebook input

Thomas Kluyver takowl at gmail.com
Wed Oct 8 19:57:47 EDT 2014

On 8 October 2014 16:33, Antonino Ingargiola <tritemio at gmail.com> wrote:

> But what do you think about using real python lists with a conventional
> names or with a "magic" comment (or even a cell magic?) from which the
> values are extracted. This would not require building any custom GUI.

I don't like this abstraction. I spent a while writing different sentences
here trying to explain why, but it really just feels inflexible. Part of my
concern is that it breaks the model that the notebook can be run as is,
without substituting the first cell. Of course, you could get round that
with a cell magic, but that doesn't feel quite right either, and it doesn't
generalise neatly to other languages.

> It may be a little hackish

Hackish solutions are great sometimes, but part of the purpose of
nbparameterise is to figure out the right ways to do things, and make those
easy. So I'd rather we kept thinking about what would be a good abstraction
for this, rather than building a hackish one quickly. Of course, it's easy
for me to say this, because I'm not the one who wants to use it immediately
;-). Of course, if you want to build this for your own use, go right ahead.

Best wishes,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141008/3d5f8178/attachment.html>

More information about the IPython-dev mailing list