How can I get the cell id of the current cell in a worksheet?
How can I get the cell id of the current cell I work with?
I think of something like:
self.get_current_id()
How can I get the cell id of the current cell I work with?
I think of something like:
self.get_current_id()
sagenb.notebook.interact.SAGE_CELL_ID
is exactly what I want. For more information see this answer: http://ask.sagemath.org/question/8954.... Big thanks to kcrisman.
the problem was I could not convert kcrisman's answer to an answer.
No worries! Now you have a useful answer.
Asked: 10 years ago
Seen: 365 times
Last updated: Sep 12 '14
I think this question is more or less answered at http://ask.sagemath.org/question/8954/how-can-a-cell-output-its-own-id/