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

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

src/d/i/digsby-HEAD/digsby/src/oscar/rendezvous/filetransfer.py   digsby(Download)
from oscar.rendezvous.peer import OscarPeer
from oscar.rendezvous.rendezvous import oscarcookie, map_intarg, rendezvous_tlvs
import oscar.capabilities as capabilities
from util import Storage, strlist, NoneFileChunker, to_hex
def send(oscar, screenname, filestorage):
    'Request for sending a file to a buddy.'
    cookie = oscarcookie()
    oscar.rdv_sessions[cookie] = transfer = \
        OutgoingOscarFileTransfer(oscar, screenname, cookie, filestorage)