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

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

src/n/i/Nimdok-HEAD/Modules/chan.py   Nimdok(Download)
                    jo = json.loads(urllib2.urlopen(apiurl + gr.group(0) + '.json').read())["posts"]
                    info = "%s - %s%s | %s %s" % (
                        stylize.SetColor(gr.group(1), stylize.Color.Green),
                        stylize.SetColor(("Anonymous" if not 'name' in jo[0] else unescape(jo[0]["name"])) , stylize.Color.Blue),
                        stylize.SetColor(("" if not 'trip' in jo[0] else jo[0]['trip']), stylize.Color.Yellow),
                        stylize.SetColor('r:'+str(len(jo)), stylize.Color.Red),
                        stylize.SetColor('i:'+str(jo[0]["images"]), stylize.Color.Red)

src/n/i/Nimdok-HEAD/Modules/lastfm.py   Nimdok(Download)
                    pass
            if 'true' in np:
                state = stylize.SetColor('now playing', stylize.Color.Green)
            else:
                state = stylize.SetColor('last heard', stylize.Color.Red)

src/n/i/Nimdok-HEAD/Modules/youtube.py   Nimdok(Download)
                        stylize.Bold(stylize.Trunicate(data["title"], 60)),
                        '| '+data["author"],
                        stylize.SetColor(u"↑" + humanize.intcomma(data["likes"]), stylize.Color.Green),
                        stylize.SetColor(u"↓" + humanize.intcomma(data["dislikes"]), stylize.Color.Red),
                        humanize.intcomma(data["views"]) if data["views"] < 1000000 else humanize.intword(data["views"])

src/n/i/Nimdok-HEAD/Modules/bots.py   Nimdok(Download)
def parse(bot, channel, user, msg):
    if msg.lower()[:6].rstrip() == ".bots":
        bot.msg(channel,
                "Reporting in! " +
                stylize.SetColor("[Python] ", stylize.Color.Blue) +
                stylize.SetColor("See " + stylize.Bold("https://github.com/Mechazawa/Nimdok"), stylize.Color.Cyan)