First time here? Check out the FAQ!
answered 2012-06-04 15:26:15 +0100
User code can access the cell id using sagenb.notebook.interact.SAGE_CELL_ID. This is an unsupported variable, though, and may change in the future. It works for right now, though.
sagenb.notebook.interact.SAGE_CELL_ID