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

All Samples(15)  |  Call(8)  |  Derive(0)  |  Import(7)

        def get_usage(defaults=defaults, cols=100, presets={}):
    return (argslistheader + formatDefinitions(defaults, cols, presets))
        


src/b/i/BitTornado-HEAD/btdownloadcurses.py   BitTornado(Download)
import hashlib
import threading
from BitTornado.download_bt1 import BT1Download, defaults, parse_params, \
    get_usage, get_response
from BitTornado.RawServer import RawServer
                break
            if not config:
                d.error(get_usage(defaults, d.fieldw, configdefaults))
                break
            if config['save_options']:
    if len(sys.argv) <= 1:
        print "Usage: btdownloadcurses.py <global options>\n"
        print get_usage(defaults)
        sys.exit(1)
 

src/b/i/BitTornado-HEAD/btdownloadheadless.py   BitTornado(Download)
import hashlib
import threading
from BitTornado.download_bt1 import BT1Download, defaults, parse_params, \
    get_usage, get_response
from BitTornado.RawServer import RawServer
            break
        if not config:
            print get_usage(defaults, 80, configdefaults)
            break
        if config['save_options']:

src/b/i/BitTornado-HEAD/btdownloadgui.py   BitTornado(Download)
from webbrowser import open_new
from StringIO import StringIO
from BitTornado.download_bt1 import BT1Download, parse_params, get_usage, \
    get_response
from BitTornado.RawServer import RawServer
                break
            if not config:
                d.displayUsage(get_usage(presets=configfile.config))
                break
 

src/h/e/Herd-HEAD/murder_client.py   Herd(Download)
        pass
 
from BitTornado.download_bt1 import BT1Download, defaults, parse_params, get_usage, get_response
from BitTornado.RawServer import RawServer, UPnP_ERROR
from random import seed
            break
        if not config:
            print get_usage(defaults, 80, configdefaults)
            break
        if config['save_options']:

src/b/i/BitTornado-HEAD/btlaunchmanycurses.py   BitTornado(Download)
import threading
from BitTornado.launchmanycore import LaunchMany
from BitTornado.download_bt1 import defaults, get_usage
from BitTornado.parseargs import parseargs
from BitTornado import version, report_email
            print "<directory> - directory to look for .torrent files " \
                "(semi-recursive)"
            print get_usage(defaults, 80, configdefaults)
            sys.exit(1)
        config, args = parseargs(sys.argv[1:], defaults, 1, 1, configdefaults)

src/b/i/BitTornado-HEAD/btlaunchmany.py   BitTornado(Download)
import os
from BitTornado.launchmanycore import LaunchMany
from BitTornado.download_bt1 import defaults, get_usage
from BitTornado.parseargs import parseargs
from BitTornado import version, report_email
            print "<directory> - directory to look for .torrent files " \
                "(semi-recursive)"
            print get_usage(defaults, 80, configdefaults)
            sys.exit(1)
        config, args = parseargs(sys.argv[1:], defaults, 1, 1, configdefaults)

src/f/r/FriendlyTorrent-HEAD/src/tornado/tftornado.py   FriendlyTorrent(Download)
    except:
        pass
from BitTornado.download_bt1 import BT1Download, defaults, parse_params, get_usage, get_response
from BitTornado.RawServer import RawServer, UPnP_ERROR
from random import seed
                break
            if not config:
                print get_usage()
                break