def from_Suite(suite, maxwidth=80):
    """Convert a mingus.containers.Suite to an ASCII tablature string, complete
    with headers.

    This function makes use of the Suite's title, subtitle, author, email
    and description attributes.
    """
    subtitle = str(len(suite.compositions)) + ' Compositions' if suite.subtitle\
         == '' else suite.subtitle
    result = os.linesep.join(add_headers(
        maxwidth,
        suite.title,
        subtitle,
        suite.author,
        suite.email,
        suite.description,
        ))
    hr = maxwidth * '='
    n = os.linesep
    result = n + hr + n + result + n + hr + n + n
    for comp in suite:
        c = from_Composition(comp, maxwidth)
        result += c + n + hr + n + n
    return result
def from_Suite ( suite , maxwidth = 80 ) : subtitle = str ( len ( suite . compositions ) ) + ' Compositions' if suite . subtitle == '' else suite . subtitle result = os . linesep . join ( add_headers ( maxwidth , suite . title , subtitle , suite . author , suite . email , suite . description , ) ) hr = maxwidth * '=' n = os . linesep result = n + hr + n + result + n + hr + n + n for comp in suite : c = from_Composition ( comp , maxwidth ) result += c + n + hr + n + n return result
Convert a mingus.containers.Suite to an ASCII tablature string, complete
    with headers.

    This function makes use of the Suite's title, subtitle, author, email
    and description attributes.