This may add too much magic to the notebooks, but it might also be useful:
In IPython proper, we've flirted with the idea of having a "preamble" cell (i.e. one cell that would be auto-executed on notebook load - the idea being it would just have the imports common to the other cells, but would be "hidden" away from littering the normal notebook view), but it will probably not happen within IPython itself, so let me open a separate issue for that.
One cell might not be enough; there are cases (i.e. declarativewidgets) where a both a %%html and normal python cell need to execute no load.
Some alternative approaches would be:
"mark" cells for auto-execution, or
have a special cell (with a macro?) demarking the last cell to be auto-executed.
This may add too much magic to the notebooks, but it might also be useful:
In IPython proper, we've flirted with the idea of having a "preamble" cell (i.e. one cell that would be auto-executed on notebook load - the idea being it would just have the imports common to the other cells, but would be "hidden" away from littering the normal notebook view), but it will probably not happen within IPython itself, so let me open a separate issue for that.