class printdata(data, name='Variable', depth=1, maxlen=40, indent='', level=0, showcontents=False)[source]#

Nicely print a complicated data structure, a la Matlab.

Note: this function is deprecated.

  • data – the data to display

  • name – the name of the variable (automatically read except for first one)

  • depth – how many levels of recursion to follow

  • maxlen – number of characters of data to display (if 0, don’t show data)

  • indent – where to start the indent (used internally)

Version: 2015aug21