<div dir="ltr"><p>On a somewhat related note - I'd really like the ability to execute cells based on the notebook's hierarchical structure, i.e. Heading cells. I've been looking into extending the Table of Contents plugin to add a "run this section" option. That way I could have an Initialisation section, and different sections for different parts of the analysis, and run only the required bits.</p>
<p>So this is a bit more limited than what it sounds like you're looking for, since you also want to be able to loop over a set, or to cut and paste. Still, Headings do (conceptually) give you a "set" of cells and these sets can be nested. Being able to cut-and-paste all cells in a section might be a good way to implement what you're aiming at?</p>
<p><br></p><p dir="ltr">On 15/03/2014 4:39 AM, "Thomas Kluyver" <<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>> wrote:<br></p><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 14 March 2014 09:46, Nikolas Tezak <span dir="ltr"><<a href="mailto:ntezak@stanford.edu" target="_blank">ntezak@stanford.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

I’ve been thinking about this for a while as well. Although this doesn’t quite address looping, I think one idea might be to use cell tags to create certain “run sets” of cells and then have a little widget/ui component that allows for selecting and running all cells of a certain tag. So, in that respect a good interface for marking/selecting multiple cells and then tagging them or running them or copying them would be great.</blockquote>



</div><br></div><div class="gmail_extra">Tags on cells is something that we want to do - there are a lot of useful things that could be done with it.<br><br></div><div class="gmail_extra">Thomas<br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div>
</div>