I would like to have a few independent computations, all them in their own cells in a jupyter notebook -- each cell having its own "main" function if you will. Currently it looks like the union of all cells containing Python code is essentially one big Python program.
In brief I am asking a Jupyter version of this question for Mathematica.