First time here? Check out the FAQ!
answered 12 years ago
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