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

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/n/i/Nimdok-HEAD/Modules/lastfm.py   Nimdok(Download)
                state = stylize.SetColor('last heard', stylize.Color.Red)
            if album != '':
                bot.msg(channel, stylize.Bold(user) + ' ' + state + ' ' + \
                                 stylize.Bold(stylize.Trunicate(artist, 45)) + ' - ' + \
                                 stylize.Bold(stylize.Trunicate(track, 65)) + ' (Album: ' + \
                                 album + ')')
            else:
                bot.msg(channel, stylize.Bold(user) + ' ' + state + ' ' + \
                                 stylize.Bold(stylize.Trunicate(artist, 45)) + ' - ' + \

src/n/i/Nimdok-HEAD/Modules/youtube.py   Nimdok(Download)
                fmt = u"%s %s %s %s | %s views"
                info = fmt % (
                        stylize.Bold(stylize.Trunicate(data["title"], 60)),
                        '| '+data["author"],
                        stylize.SetColor(u"↑" + humanize.intcomma(data["likes"]), stylize.Color.Green),

src/n/i/Nimdok-HEAD/Modules/ltc.py   Nimdok(Download)
def parse(bot, channel, user, msg):
    jo = json.loads(urllib2.urlopen("https://btc-e.com/api/2/ltc_usd/ticker").read())["ticker"]
    info = "%s %s$, %s %s$, %s %s$, %s %s$, %s %s" % (
        stylize.Bold("Last:"), jo["last"],
        stylize.Bold("High:"), jo["high"],
        stylize.Bold("Low:"), jo["low"],
        stylize.Bold("Avg:"), jo["avg"],
        stylize.Bold("Vol:"), jo["vol"]

src/n/i/Nimdok-HEAD/Modules/bots.py   Nimdok(Download)
                "Reporting in! " +
                stylize.SetColor("[Python] ", stylize.Color.Blue) +
                stylize.SetColor("See " + stylize.Bold("https://github.com/Mechazawa/Nimdok"), stylize.Color.Cyan)
        )
 

src/n/i/Nimdok-HEAD/Modules/doge.py   Nimdok(Download)
    res = tag.text.strip().replace(")",'').split("(")
    bot.msg(channel, "%s %s" % (
        stylize.Bold(res[0]),
        res[1]
    ))