text
Factory function to create a NotebookCellOutputItem
from a string.
Note that an UTF-8 encoder is used to create bytes for the string.
Parameters
value
A string.
mime
Optional MIME type, defaults to text/plain
.
Factory function to create a NotebookCellOutputItem
from a string.
Note that an UTF-8 encoder is used to create bytes for the string.
A string.
Optional MIME type, defaults to text/plain
.