You are viewing an older version (9.5.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.5.0 / IPython / core / display / TextDisplayObject

class

IPython.core.display:TextDisplayObject

source: /IPython/core/display.py:407

Signature

class TextDisplayObject(data = None, url = None, filename = None, metadata = None)

Members

Summary

Create a text display object given raw data.

Parameters

data : str or unicode

The raw data or a URL or file to load the data from.

url : unicode

A URL to download the data from.

filename : unicode

Path to a local file to load the data from.

metadata : dict

Dict of metadata associated to be the object when displayed

Aliases

  • IPython.display.TextDisplayObject