On Thursday, June 8, 2017 at 10:07:44 AM UTC+12, Andy Davidson wrote:
>
> What I have noticed is that in a given cell I typically define a function 
> and some additional test code. Often the test code defines some variables. 
> The bug tends to be latter I define a new function f2() that accidentally 
> picks up one of the test variables I previously defined for f1(). So I 
> incorrectly think f2() works.
>

That’s not a bug, that’s a feature. I find a good way to ensure that a 
notebook makes sense without any accumulated unwanted context is to use the 
“Kernel → Restart & Clear Output” option, followed by “Cell → Run All”.

-- 
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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/b1786c46-db01-4420-866f-712a17fc477c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to