Did I find the right examples for you? yes no

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

src/p/y/PYTHON-IRC-BOT-HEAD/plugins/news.py   PYTHON-IRC-BOT(Download)
from urllib import urlencode
from cookielib import LWPCookieJar
from urlshortener import GoogleShortener
import re
 
        latest = parser.latest
        for l in latest:
            g = GoogleShortener()
            g.shorten_and_do(l['link'], self.pretty_print, l, channel, irc)
 

src/p/y/PYTHON-IRC-BOT-HEAD/plugins/ircjobs.py   PYTHON-IRC-BOT(Download)
import urllib
from HTMLParser import HTMLParser
from urlshortener import GoogleShortener
import re
from plugin import Plugin
 
        for i in p.latest:
            s = GoogleShortener()
            s.shorten_and_do(i['link'], self.pretty_print, i, channel, irc)