First time here? Check out the FAQ!
asked 14 years ago
Example of what is needed in sage prompt:
sage: is_sageprompt()
True
Example of what is needed in a notebook:
In an input cell: is_sagenotebook()
The output cell: True