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

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

src/h/e/hellanzb-HEAD/Hellanzb/Core.py   hellanzb(Download)
            Hellanzb.MAX_RATE = int(Hellanzb.MAX_RATE)
 
        if not hasattr(Hellanzb, 'UNRAR_CMD') or Hellanzb.UNRAR_CMD is None:
            Hellanzb.UNRAR_CMD = assertIsExe(['rar', 'unrar'])
        else:
            Hellanzb.UNRAR_CMD = assertIsExe([Hellanzb.UNRAR_CMD])

src/h/e/hellanzb-HEAD/Hellanzb/PostProcessorUtil.py   hellanzb(Download)
        # Specify the password during the listing, in the case that the data AND headers
        # are passworded
        listCmd = [Hellanzb.UNRAR_CMD, 'l', '-y', '-p%s' % postProcessor.rarPassword,
                   '--', fileName]
    else:
        listCmd = [Hellanzb.UNRAR_CMD, 'l', '-y', '-p-', '--', fileName]
    renamedFiles = {}
    if postProcessor.rarPassword != None:
        listCmd = [Hellanzb.UNRAR_CMD, 'lb', '-y', '-p%s' % postProcessor.rarPassword,
                   '--', fileName]
    else:
        listCmd = [Hellanzb.UNRAR_CMD, 'lb', '-y', '-p-', '--', fileName]
 
    if isPassworded:
        cmd = [Hellanzb.UNRAR_CMD, 'x', '-y', '-idp', '-p%s' % postProcessor.rarPassword,
               '--', fileName, pathToExtract]
    else: