MCPcopy Create free account
hub / github.com/ipython/ipython / _repr_html_

Method _repr_html_

IPython/lib/display.py:396–405  ·  view source on GitHub ↗

return html link to file

(self)

Source from the content-addressed store, hash-verified

394 self.result_html_suffix])
395
396 def _repr_html_(self):
397 """return html link to file
398 """
399 if not exists(self.path):
400 return ("Path (<tt>%s</tt>) doesn't exist. "
401 "It may still be in the process of "
402 "being generated, or you may have the "
403 "incorrect path." % self.path)
404
405 return self._format_path()
406
407 def __repr__(self):
408 """return absolute path to file

Calls 1

_format_pathMethod · 0.95