You might consider putting each section in a separate notebook. Then it very naturally starts with a fresh kernel, is self-contained, etc.
Jason On Tue, Dec 26, 2017, 23:44 Roland Weber <[email protected]> wrote: > On Tuesday, December 26, 2017 at 3:42:23 PM UTC+1, [email protected] > wrote: >> >> But once I ship out the notebook to others, they'd need to do the same as >> they execute cells, correct? >> > > Once you ship out the notebook to others, they can execute and re-execute > cells in whatever order they want to. In reverse order, if they have a mind > to. > If you want to give them something that never changes, then make an HTML > export or a screenshot. > If you want to give them something that starts numbering from scratch with > each chapter, then give them a separate notebook for each chapter. > > Notebooks are interactive, everyone will have their personal instance of > them. The execution count shows how someone works with their notebook. > You're trying to control what others will do with their copies of your > notebook(s). It's a waste of time. It's like trying to control in which > order people read the different articles in a newspaper, or on a news > website. > > cheers, > Roland > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/017782d9-8d3d-4b8b-9ce2-3fa1c423954d%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/017782d9-8d3d-4b8b-9ce2-3fa1c423954d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAPDWZHx%2BN0OyHPSjsDYv2J2UX6MG1bfykGEqDMp1OjA8tXYfHQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
