bundles / IPython 9.18.0.dev / IPython / utils / text / marquee
function
IPython.utils.text:marquee
source: /IPython/utils/text.py:311
Signature
def marquee(txt: str = '', width: int = 78, mark: str = *) → strSummary
Return the input string centered in a 'marquee'.
Examples
:: In [16]: marquee('A test',40) Out[16]: '**************** A test ****************' In [17]: marquee('A test',40,'-') Out[17]: '---------------- A test ----------------' In [18]: marquee('A test',40,' ') Out[18]: ' A test 'Aliases
IPython.lib.demo.marquee