Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def columns_width(columns):
    curses.setupterm()
    term_w = curses.tigetnum('cols')
    t_w = sum(columns_w[column] for column in columns)
    c_w = {column: int(term_w * columns_w[column] / t_w) for column in columns}
    return c_w, term_w
        


src/m/p/mpdc-HEAD/mpdc/mpdc_collections.py   mpdc(Download)
from mpdc.initialize import mpd, collectionsmanager, cache, colors, columns, \
                            enable_pager, pager
from mpdc.libs.utils import input_box, esc_quotes, info, warning, colorize, \
                            columns_width
from mpdc.libs.parser import parser
def display_songs(filenames, path=None, enable_pager=False):
    lines = []
    if path is None:
        c_w, t_w = columns_width(columns)
        header = ''