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

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

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/zurllib.py   kamaelia(Download)
import thread
from BitTorrent import PeerID
user_agent = PeerID.make_id()
del PeerID
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/download.py   kamaelia(Download)
    def _make_id(self):
        return PeerID.make_id()
 
    def _error(self, level, text, exception=False):
        self.errors.append((time(), level, text))