Did I find the right examples for you? yes no

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

src/t/w/TwistedBot-HEAD/twistedbot/factory.py   TwistedBot(Download)
    def online_auth(self):
        log.msg('doing online login')
        url = "http://login.minecraft.net/?user=%s&password=%s&version=1337" % (config.EMAIL, config.PASSWORD)
        response = yield getPage(url).addErrback(logbot.exit_on_error)
        log.msg("responce from http://login.minecraft.net: %s" % response)

src/p/u/pual_bot-HEAD/webqq.py   pual_bot(Download)
    msg['Subject'] = u"WebQQ机器人需要验证码"
    msg["From"] = me
    msg['To'] = config.EMAIL
    try:
        server = smtplib.SMTP()
        server.connect(SMTP_HOST)
        server.login(config.SMTP_ACCOUNT, config.SMTP_PASSWORD)
        server.sendmail(me, [config.EMAIL], msg.as_string())

src/r/t/rtd-HEAD/preprocess_radtag_lane_vlbc.py   rtd(Download)
from editdist import distance
from glob import glob
from config import EMAIL,PASS,SOURCE,LIBRARY_DATA,ADAPTER_DATA,RTDROOT
 
def dezip(values_in):
        client.http_client.debug = False  # Set to True for debugging HTTP requests
 
        client.ClientLogin(EMAIL,PASS,client.source)
 
        new_spreadsheet = client.Create(gdata.docs.data.SPREADSHEET_LABEL, table_name , writers_can_invite=False)
    if gd_client is None:
        gd_client = gdata.spreadsheet.service.SpreadsheetsService()
        gd_client.email = EMAIL
        gd_client.password = PASS
        gd_client.source = SOURCE

src/r/t/rtd-HEAD/preprocess_radtag_lane.py   rtd(Download)
from editdist import distance
from glob import glob
from config import EMAIL,PASS,SOURCE,LIBRARY_DATA,ADAPTER_DATA,RTDROOT
 
def dezip(values_in):
        client.http_client.debug = False  # Set to True for debugging HTTP requests
 
        client.ClientLogin(EMAIL,PASS,client.source)
 
        new_spreadsheet = client.Create(gdata.docs.data.SPREADSHEET_LABEL, table_name , writers_can_invite=False)
    if gd_client is None:
        gd_client = gdata.spreadsheet.service.SpreadsheetsService()
        gd_client.email = EMAIL
        gd_client.password = PASS
        gd_client.source = SOURCE