Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr keyword Call SubscriptLoad NameLoad Index Str Str keyword Call SubscriptLoad NameLoad Index Str Str keyword Call SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Num Return Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd Call NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad Num Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Call NameLoad Call AttributeLoad NameLoad attr BinOpSub BinOpDiv AttributeLoad NameLoad attr Num BinOpDiv NameLoad Num AugAssignAdd NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv BinOpSub NameLoad BinOpMult NameLoad NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpSub BinOpSub AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call NameLoad Call NameLoad Num Call NameLoad Num Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Str For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore IfExp BoolOpAnd CompareEq NameLoad Num NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore BinOpMult Str BinOpSub NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad BinOpSub Call NameLoad NameLoad Num body Assign NameStore BinOpMult Str Num orelse If CompareEq NameLoad NameLoad body Assign NameStore BinOpMult Str NameLoad Assign NameStore IfExp CompareEq NameLoad NameLoad Num BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad Str attr TupleLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Call AttributeLoad Str attr TupleLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad Num BinOpSub BinOpFloorDiv AttributeLoad NameLoad attr Num Num Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args NameParam NameParam defaults Num kwarg body Expr Str Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call NameLoad BinOpMult Str BinOpAdd AttributeLoad NameLoad attr Num Expr Call NameLoad BinOpAdd AttributeLoad NameLoad attr BinOpMult Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Num For NameStore NameLoad body AugAssignAdd NameStore Num Expr Call NameLoad NameLoad Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad Str NameLoad kwarg body Expr Str Assign NameStore Call NameLoad Assign NameStore BoolOpOr NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword Call SubscriptLoad NameLoad Index Str Str keyword Call SubscriptLoad NameLoad Index Str Str keyword Call SubscriptLoad NameLoad Index Str Str keyword Call SubscriptLoad NameLoad Index Str Str keyword Call SubscriptLoad NameLoad Index Str Str Assign NameStore Lambda arguments args NameParam NameParam defaults CompareEq BinOpMod NameLoad BinOpSub NameLoad Num Num FunctionDef arguments args defaults body If UnaryOpNot NameLoad body Return Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpMult NameLoad BinOpFloorDiv Call NameLoad Num BinOpSub AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Assign NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Num Call NameLoad BinOpSub BinOpDiv AttributeLoad NameLoad attr Num BinOpDiv NameLoad Num For NameStore NameLoad body AugAssignAdd NameStore Num If NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad CompareNotEq NameLoad BinOpSub Call NameLoad NameLoad Num UnaryOpNot NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Expr Call NameLoad Str If NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad Call NameLoad Num keyword NameLoad attr If BoolOpOr CompareIs NameLoad NameLoad BoolOpAnd NameLoad CompareIn Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Str Return If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad Str If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Break orelse If CompareEq NameLoad Str body Break Expr Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad Expr Call NameLoad Str If CompareGt AttributeLoad NameLoad attr Num body Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Num BinOpSub BinOpFloorDiv AttributeLoad NameLoad attr Num Num Expr Call NameLoad Call AttributeLoad Str attr keyword Call SubscriptLoad NameLoad Index Str Str Assign NameStore Call AttributeLoad Call NameLoad Num keyword NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Dict Str AttributeLoad NameLoad attr Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad Expr Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Return BoolOpOr Call AttributeLoad Call NameLoad keyword NameLoad keyword NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Str Expr Call NameLoad Call AttributeLoad Dict Str Str Str Str attr NameLoad Str Expr Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num kwarg body Expr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num BinOpSub BinOpFloorDiv AttributeLoad NameLoad attr Num BinOpFloorDiv NameLoad Num Assign NameStore ListLoad For NameStore Call AttributeLoad Call NameLoad NameLoad attr body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr BinOpAdd ListLoad IfExp NameLoad Call NameLoad NameLoad NameLoad Str ListComp Call AttributeLoad Str attr TupleLoad IfExp NameLoad Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str comprehension NameStore NameLoad Expr Call NameLoad NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr For NameStore Str body If BoolOpOr CompareLt NameLoad Num CompareEq NameLoad Str body If CompareIn NameLoad Str body Return Call AttributeLoad Str attr keyword Call NameLoad NameLoad keyword NameLoad Return Call AttributeLoad Str attr keyword NameLoad keyword NameLoad AugAssignDiv NameStore Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Assign NameStore BoolOpOr Call NameLoad keyword Str keyword Str Str Assign NameStore Num If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad Num Call NameLoad BinOpSub BinOpDiv AttributeLoad NameLoad attr Num BinOpDiv Num Num Return Call AttributeLoad Str attr keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call SubscriptLoad NameLoad Index Str Str keyword NameLoad keyword Call SubscriptLoad NameLoad Index Str Str decorator_list
N/A N/A  Common interface utility functions for x/84.  __future__ division N/A os N/A math x84.bbs echo showart get_ini x84.bbs getterminal LineEditor decorate_menu_item N/A N/A menu_item colors N/A N/A N/A  Return menu item decorated.  N/A key_text N/A N/A {lb}{inp_key}{rb} format lb N/A N/A colors N/A lowlight [ rb N/A N/A colors N/A lowlight ] inp_key N/A N/A colors N/A highlight N/A menu_item inp_key N/A N/A N/A N/A menu_item text startswith N/A menu_item inp_key N/A N/A N/A N/A N/A menu_item text replace N/A menu_item inp_key key_text 1 N/A N/A N/A {key_text} {menu_text} format key_text key_text menu_text N/A menu_item text N/A render_menu_entries N/A N/A term top_margin menu_items colors max_cols max_rowsp N/A None 3 2 N/A N/A 
    Return all menu items rendered in decorated tabular format.

    :param term: terminal instance returned by :func:`getterminal`.
    :param int top_margin: the top-most row location to begin.
    :param menu_items: any object containing attributes ``inp_key``
                       and ``text``.
    :param dict colors: optional terminal attributes, containing
                        keys of ``highlight`` and ``lowlight``.
    :param int max_cols: maximum number of columns rendered.
    :param int max_row_spacing: maximum vertical row spacing.
    :rtype: str
     N/A N/A colors None N/A N/A measure_width N/A term length N/A N/A measure_width N/A str __len__ N/A colors N/A N/A N/A colors N/A highlight N/A N/A colors get highlight N/A N/A N/A txt N/A txt N/A N/A colors N/A lowlight N/A N/A colors get lowlight N/A N/A N/A txt N/A txt N/A rendered_menuitems N/A N/A decorate_menu_item menu_item colors N/A menu_item menu_items N/A column_widths N/A map measure_width rendered_menuitems N/A display_width N/A min N/A term width 80 N/A padding N/A N/A max column_widths 3 N/A n_columns N/A min N/A max 1 N/A int N/A N/A math floor N/A display_width padding max_cols N/A xpos N/A max 1 N/A int N/A N/A math floor N/A N/A N/A term width 2 N/A display_width 2 N/A xpos N/A int N/A N/A math floor N/A N/A display_width N/A n_columns padding 2 N/A rows N/A int N/A N/A math ceil N/A N/A len rendered_menuitems n_columns N/A height N/A int N/A N/A math ceil N/A N/A N/A term height 3 top_margin N/A row_spacing N/A min N/A max 1 N/A min 3 N/A int N/A N/A math floor N/A height rows max_rowsp N/A column 1 N/A output N/A N/A idx item N/A enumerate rendered_menuitems N/A N/A padding_left N/A N/A N/A column 1 xpos N/A N/A term move_x xpos N/A padding_right N/A N/A padding N/A column_widths N/A idx N/A N/A idx N/A N/A len rendered_menuitems 1 N/A N/A padding_right N/A 2 N/A N/A N/A column n_columns N/A N/A padding_right N/A row_spacing N/A column N/A N/A column n_columns 1 N/A column 1 N/A output N/A N/A join N/A output padding_left item padding_right N/A output N/A waitprompt N/A N/A term N/A N/A N/A  Display simple "press enter to continue prompt".  N/A N/A echo N/A N/A join N/A N/A term normal N/A N/A term move_x N/A max 0 N/A N/A N/A term width 2 40 N/A N/A term magenta ( N/A N/A term green .. press any key to continue N/A N/A term green .. N/A N/A term magenta ) N/A N/A N/A term inkey N/A N/A display_banner N/A N/A filepattern vertical_padding N/A 0 kwargs N/A N/A 
    Start new screen and show artwork, centered.

    :param str filepattern: file to display
    :param int vertical_padding: number of blank lines to prefix art
    :return: number of lines displayed
    :rtype: int

    Remaining parameters are inherited from :func:`showart`, such
    as ``center`` and ``encoding``.  By default, ``center`` is True.
     N/A term N/A getterminal N/A N/A kwargs N/A center N/A N/A kwargs get center True N/A N/A echo N/A N/A N/A term move N/A term height 0 N/A term normal N/A N/A echo N/A N/A N/A term height 1 N/A N/A echo N/A N/A term home N/A vertical_padding N/A art_generator N/A showart filepattern kwargs N/A line_no 0 N/A txt art_generator N/A N/A line_no 1 N/A N/A echo txt N/A N/A line_no vertical_padding N/A prompt_pager N/A N/A content line_no colors width breaker end_prompt N/A 0 None None -  True kwargs N/A N/A  Display text, using a stop/continuous/next-page prompt.

    :param iterable content: iterable of text contents.
    :param int line_no: line number to offset beginning of pager.
    :param dict colors: optional dictionary containing terminal styling
                        attributes, for keys ``'highlight'`` and
                        ``'lowlight'``.  When unset, yellow and green
                        are used.
    :param int width: When set, text is left-justified-centered by width.
    :param str breaker: repeated decoration for page breaks
    :param bool end_prompt: Whether prompt should be displayed at end.
    :param kwargs: additional arguments to :func:`textwrap.wrap`
    :param bool end_prompt: use 'press enter prompt' at end.
     N/A term N/A getterminal N/A colors N/A colors N/A highlight lowlight N/A term yellow N/A term green N/A pager_prompt N/A N/A {bl}{s}{br}top, {bl}{c}{br}ontinuous, or {bl}{enter}{br} for next page {br} {bl} format bl N/A N/A colors N/A lowlight [ br N/A N/A colors N/A lowlight ] s N/A N/A colors N/A highlight s c N/A N/A colors N/A highlight c enter N/A N/A colors N/A highlight return N/A should_break N/A N/A N/A line_no height N/A N/A N/A line_no N/A height 3 0 show_breaker N/A N/A N/A N/A N/A N/A breaker N/A N/A N/A attr N/A colors N/A highlight N/A breaker_bar N/A breaker N/A N/A min 80 N/A N/A term width 1 N/A len breaker N/A N/A echo N/A attr N/A N/A N/A N/A term center breaker_bar rstrip N/A N/A continuous False N/A result N/A N/A txt content N/A N/A N/A N/A txt rstrip N/A N/A N/A N/A result extend N/A N/A term wrap txt width kwargs N/A N/A N/A N/A result append N/A xpos 0 N/A N/A term width N/A N/A xpos N/A max 0 N/A int N/A N/A N/A term width 2 N/A width 2 N/A txt result N/A N/A line_no 1 N/A xpos N/A N/A N/A echo N/A N/A term move_x xpos N/A N/A echo N/A N/A N/A N/A N/A txt rstrip N/A term normal N/A term clear_eol N/A N/A line_no N/A line_no N/A N/A len result 1 N/A continuous N/A should_break line_no N/A term height N/A N/A N/A show_breaker N/A N/A echo N/A xpos N/A N/A N/A echo N/A N/A term move_x xpos N/A N/A echo pager_prompt N/A True N/A N/A inp N/A N/A N/A LineEditor 1 colors colors read N/A N/A N/A inp None N/A inp N/A N/A N/A inp lower sqx N/A N/A N/A echo N/A N/A N/A N/A len inp 1 N/A N/A N/A echo N/A N/A N/A N/A inp lower c N/A N/A continuous True N/A N/A N/A N/A inp N/A N/A N/A N/A echo N/A N/A N/A term move_x 0 N/A term clear_eol N/A breaker N/A N/A N/A echo N/A N/A N/A term move_up N/A term clear_eol N/A end_prompt N/A N/A N/A show_breaker N/A N/A echo N/A N/A N/A term width 80 N/A N/A N/A echo N/A N/A term move_x N/A max 0 N/A N/A N/A term width 2 40 N/A N/A echo N/A N/A Press {enter}. format enter N/A N/A colors N/A highlight enter N/A inp N/A N/A N/A LineEditor 0 colors colors read N/A prompt_input N/A N/A term key sep_ok width colors N/A :: None None N/A N/A  Prompt for and return input, up to given width and colorscheme.  N/A colors N/A colors N/A highlight N/A term yellow N/A sep_ok N/A N/A colors N/A highlight sep_ok N/A N/A echo N/A N/A {sep} {key:<8}:  format sep sep_ok key key N/A N/A N/A N/A N/A LineEditor colors colors width width read N/A coerce_terminal_encoding N/A N/A term encoding N/A N/A N/A  Coerce encoding of terminal to match session by CSI.  N/A N/A echo N/A N/A echo N/A N/A N/A utf8 cp437 %G %@(U get encoding N/A N/A echo N/A N/A N/A term move_x 0 N/A term clear_eol N/A show_description N/A N/A term description color width N/A white 80 kwargs N/A N/A 
    Display text as given ``color``, left-adjusted ``width``.

    :param str description: description text, may contain terminal attributes,
                            in which case ``color`` should be set to None.
    :param str color: terminal color attribute name, may be None.
    :param int width: left-adjusted width, if this is greater than the current
                      terminal's width, the terminal's width is used instead.
    :param kwargs: all remaining keyword arguments are passed to the built-in
                   :class:`textwrap.TextWrapper`.
    :rtype: int
    :returns: number if lines written
     N/A wide N/A min width N/A term width N/A xpos N/A max 0 N/A N/A N/A term width 2 N/A wide 2 N/A lines N/A N/A line N/A N/A N/A unicode description splitlines N/A N/A N/A N/A line strip N/A N/A N/A N/A lines extend N/A N/A term wrap line wide kwargs N/A N/A N/A N/A lines append N/A outp N/A N/A join N/A N/A N/A color N/A getattr term color N/A N/A N/A join N/A N/A xpos N/A N/A term move_x xpos N/A N/A txt rstrip N/A term clear_eol N/A txt lines N/A N/A echo outp N/A N/A len N/A N/A outp splitlines N/A filesize N/A N/A filename N/A N/A N/A  display a file's size in human-readable format  N/A size N/A float N/A N/A N/A os stat filename st_size N/A scale BKMGT N/A N/A N/A N/A size 1000 N/A scale T N/A N/A N/A scale BK N/A N/A N/A N/A {size:d}{scale} format size N/A int size scale scale N/A N/A N/A {size:0.2f}{scale} format size size scale scale N/A size 1024 N/A display_prompt N/A N/A term colors N/A N/A N/A  Return string for displaying a system-wide command prompt.  N/A N/A colors N/A lowlight N/A N/A colors get lowlight N/A N/A N/A txt N/A txt N/A bbsname N/A N/A get_ini section system key bbsname Unnamed N/A xpos 0 N/A N/A N/A term width 30 N/A N/A xpos N/A max 5 N/A int N/A N/A N/A term width 2 N/A 80 2 N/A N/A N/A {xpos}{user}{at}{bbsname}{colon}  format xpos N/A N/A term move_x xpos user N/A N/A N/A term session user handle at N/A N/A colors N/A lowlight @ bbsname bbsname colon N/A N/A colors N/A lowlight :: N/A