def add_threading_args(parser):
 parser.add_argument(u'--threads', u'-T', default=DEFAULT_N_THREADS, type=int, help=u'Number of simultaneous threads to execute')

def add_threading_args ( parser ) : parser . add_argument ( u'--threads' , u'-T' , default = DEFAULT_N_THREADS , type = int , help = u'Number of simultaneous threads to execute' )
add option for threading to options parser .