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

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Like colors.color, except auto-casts to Unicode string if need be.

        def color(item, **kwargs):
    """
    Like colors.color, except auto-casts to Unicode string if need be.
    """
    item_u = unicode(item) if not isinstance(item, six.string_types) else item
    return _color(item_u, **kwargs)
        


src/s/a/say-1.2.3/say/__init__.py   say(Download)
from say.core import say, Say, fmt, Fmt, caller_fmt, FmtException, numberer
from say.styling import color, COLORS, STYLES, autostyle, styled, Relative
from say.vertical import Vertical
from say.text import Text
from say.version import __version__