Ask Your Question
0

How can I get the cell id of the current cell in a worksheet?

asked 10 years ago

balduin gravatar image

How can I get the cell id of the current cell I work with? I think of something like: self.get_current_id()

Preview: (hide)

Comments

I think this question is more or less answered at http://ask.sagemath.org/question/8954/how-can-a-cell-output-its-own-id/

kcrisman gravatar imagekcrisman ( 10 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 10 years ago

balduin gravatar image

sagenb.notebook.interact.SAGE_CELL_IDis exactly what I want. For more information see this answer: http://ask.sagemath.org/question/8954.... Big thanks to kcrisman.

Preview: (hide)
link

Comments

the problem was I could not convert kcrisman's answer to an answer.

balduin gravatar imagebalduin ( 10 years ago )

No worries! Now you have a useful answer.

kcrisman gravatar imagekcrisman ( 10 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 365 times

Last updated: Sep 12 '14