def _page(output, pager_command=None):

    output = str(output)

    if pager_command is None:
        pager_command = 'less -R'

    if not sys.stdout.isatty() or util.is_windows_platform():
        print(output)
        return

    num_lines = output.count('\n')
    exceeds_tty_height = pager.getheight() - 1 < num_lines

    if exceeds_tty_height:
        pydoc.pipepager(output, cmd=pager_command)
    else:
        print(output)
Get the previous close price for a quote.
dataset/ETHPy150Open dcos/dcos-cli/dcos/emitting.py/_page--crossover with--dataset/ETHPy150Open fxdemolisher/frano/frano/quotes/models.py/previous_close_price