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

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

        def btspawn(torrentqueue, cmd, *args):
    ext = ''
    if is_frozen_exe:
        ext = '.exe'
    path = os.path.join(app_root, cmd+ext)
    if not os.access(path, os.F_OK):
        if os.access(path+'.py', os.F_OK):
            path = path+'.py'
    args = [path] + list(args) # $0
    spawn(torrentqueue, *args)
        


src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/maketorrent.py   kamaelia(Download)
from BitTorrent.makemetafile import make_meta_files
from BitTorrent.parseargs import makeHelp
from BitTorrent.platform import btspawn
from BitTorrent.ConvertedMetainfo import set_filesystem_encoding
 
    def seed(self, widget=None):
        for f in self.file_list:
            btspawn(None, 'bittorrent', f+EXTENSION, '--save_as', f)
        self.cancel()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/bittorrent.py   kamaelia(Download)
from BitTorrent.IPC import ipc_interface
from BitTorrent.prefs import Preferences
from BitTorrent.platform import doc_root, btspawn, path_wrap, os_version, is_frozen_exe, get_startup_dir, create_shortcut, remove_shortcut
from BitTorrent import zurllib
 
    def make_new_torrent(self, widget=None):
        btspawn(self.torrentqueue, 'maketorrent')
 
    def accept_dropped_file(self, widget, context, x, y, selection,
                            targetType, time):