{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / display / TextDisplayObject

class

IPython.core.display:TextDisplayObject

source: /dev/ipython/IPython/core/display.py:408

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