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

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

src/f/r/FriendlyTorrent-HEAD/src/tornado/BitTornado/download_bt1.py   FriendlyTorrent(Download)
from threading import Thread, Event
from clock import clock
from BTcrypto import CRYPTO_OK
from __init__ import createPeerID
 
    ('url', '',
        'url to get file from, alternative to responsefile'),
    ('crypto_allowed', int(CRYPTO_OK),
        'whether to allow the client to accept encrypted connections'),
    ('crypto_only', 0,
        self.checking = False
 
        if not CRYPTO_OK:
            if self.config['crypto_allowed']:
                self.errorfunc('warning - crypto library not installed')

src/f/r/FriendlyTorrent-HEAD/src/tornado/BitTornado/ConfigReader.py   FriendlyTorrent(Download)
import socket
from parseargs import defaultargs
from BTcrypto import CRYPTO_OK
 
try:
            m = 0
        self.cryptomode_data.SetSelection(m)
        if not CRYPTO_OK:   # no crypto library in place
            self.cryptomode_data.Enable(False)
 

src/b/i/BitTornado-HEAD/BitTornado/download_bt1.py   BitTornado(Download)
from parseargs import parseargs, formatDefinitions, defaultargs
from clock import clock
from BTcrypto import CRYPTO_OK
from __init__ import createPeerID
 
    ('url', '',
        'url to get file from, alternative to responsefile'),
    ('crypto_allowed', int(CRYPTO_OK),
        'whether to allow the client to accept encrypted connections'),
    ('crypto_only', 0,
        self.checking = False
 
        if not CRYPTO_OK:
            if self.config['crypto_allowed']:
                self.errorfunc('warning - crypto library not installed')

src/b/i/BitTornado-HEAD/BitTornado/ConfigReader.py   BitTornado(Download)
from ConfigDir import ConfigDir
from parseargs import defaultargs
from BTcrypto import CRYPTO_OK
 
try:
                m = 0
            self.cryptomode_data.SetSelection(m)
            if not CRYPTO_OK:   # no crypto library in place
                self.cryptomode_data.Enable(False)