get_logger(returns the logging object associated with the multiprocessing modulecreating it if it doesn' already exist the returned logger does not propagate messages to the root loggerhas level of logging notsetand prints all logging messages to standard error set_executable(executablesets the name of the python executable used to execute subprocesses this is only defined on windows general advice on multiprocessing the multiprocessing module is one of the most advanced and powerful modules in the python library here are some general tips for keeping your head from explodingn carefully read the online documentation before building large application although this section has covered the essential basicsthe official documentation covers some of the more sneaky issues that can arise make sure that all data passed between processes is compatible with pickle avoid shared data and learn to love message passing and queues with message passingyou don' have to worry so much about synchronizationlockingand other issues it also tends to provide better scaling as the number of processes increases don' use global variables inside functions that are meant to run in separate processes it is better to explicitly pass parameters instead try not to mix threads and multiprocessing together in the same program unless you're vastly trying to improve your job security (or to have it reduced depending on who is doing the code reviewn pay very careful attention to how processes get shut down as general ruleyou will want to explicitly close processes and have well-defined termination scheme in place as opposed to just relying on garbage collection or having to forcefully terminate children using the terminate(operation the use of managers and proxies is closely related to variety of concepts in distributed computing ( distributed objectsa good distributed computing book might be useful reference the multiprocessing module originated from third-party library known as pyprocessing searching for usage tips and information on this library may be useful resource although this module works on windowsyou should carefully read the official documentation for variety of subtle details for exampleto launch new process on windowsthe multiprocessing module implements its own clone of the unix fork(operationin which process state is copied to the child process over pipe as general rulethis module is much more tuned to unix systems above all elsetry to keep things as simple as possible lib fl ff