#!/usr/bin/env python # coding: utf-8 # # Initialization Cells # # BeakerX supports them by including the [already existing contributed extension](https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/master/src/jupyter_contrib_nbextensions/nbextensions/init_cell/main.js). The View -> Cell Toolbar -> Initialization Cell menu item makes the UI visible. It also adds a calculator button icon to the toolbar to run the init cells. # # Initialization cells are not run unless a notebook is trusted. Click on the trust button to enable this feature on a given notebook. # In[1]: import time print(time.strftime("%Y-%m-%d %H:%M"))