bundles / IPython 9.5.0 / IPython / lib / display / FileLinks / __init__
function
IPython.lib.display:FileLinks.__init__
source: /IPython/lib/display.py :450
Signature
def __init__ ( self , path , url_prefix = '' , included_suffixes = None , result_html_prefix = '' , result_html_suffix = <br> , notebook_display_formatter = None , terminal_display_formatter = None , recursive = True ) Summary
See FileLink for the path, url_prefix, result_html_prefix and result_html_suffix parameters.
Extended Summary
included_suffixes
included_suffixes
notebook_display_formatter
notebook_display_formatter
terminal_display_formatter
terminal_display_formatter
Formatter functions must be of the form
f(dirname, fnames, included_suffixes)dirname
dirname
fnames
fnames
included_suffixes
included_suffixes
recursive
recursive
The function should return a list of lines that will be printed in the notebook (if passing notebook_display_formatter) or the terminal (if passing terminal_display_formatter). This function is iterated over for each directory in self.path. Default formatters are in place, can be passed here to support alternative formatting.
Aliases
-
IPython.display.FileLinks.__init__