I'm writting an application were a person develops an algorithm using
the sage notebook (on his computer, for example).
That algorithm will be developed inside a notebook cell.
Then I would like to store that cell contents in a common database
automatically avoiding "cut/paste" to another place.
I want to save the "textual" class definition (not the bytecode of
the python/sage class).
Example:
--cell start---
class SomeClass:
def make(self):
print "do something"
print THIS_CELL_STRING_CONTENT() #including this line
----cell end----
Is there a command to get the "id" of current cell ?
Is there a command to read cell "id" contents (textual) ?
Thanks,
Pedro
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org