def getArgs():
    """Gets the arguments of the program.
    Returns a tuple containting:
    (qty to launch, arguments to pass to the bootstrap module)."""
    try:
        nb_to_launch = int(sys.argv[1])
    except:
        nb_to_launch = 0

    if nb_to_launch == 0:
        nb_to_launch = getCPUcount()

    try:
        verbosity = int(sys.argv[2])
    except:
        verbosity = 3

    return nb_to_launch, verbosity, sys.argv[3:]
def getArgs ( ) : try : nb_to_launch = int ( sys . argv [ 1 ] ) except : nb_to_launch = 0 if nb_to_launch == 0 : nb_to_launch = getCPUcount ( ) try : verbosity = int ( sys . argv [ 2 ] ) except : verbosity = 3 return nb_to_launch , verbosity , sys . argv [ 3 : ]
Gets the arguments of the program.
    Returns a tuple containting:
    (qty to launch, arguments to pass to the bootstrap module).