def InitAndRun(run_callback, shutdown_callback=None, scan_ops=False, server_logging=True):
 main.InitAndRun(run_callback=partial(_StartWWW, run_callback, scan_ops), shutdown_callback=shutdown_callback, server_logging=server_logging)

def InitAndRun ( run_callback , shutdown_callback = None , scan_ops = False , server_logging = True ) : main . InitAndRun ( run_callback = partial ( _StartWWW , run_callback , scan_ops ) , shutdown_callback = shutdown_callback , server_logging = server_logging )
runs the main initialization routine .