def freeze_support():
 if ((sys.platform == 'win32') and getattr(sys, 'frozen', False)):
  from multiprocessing.forking import freeze_support
  freeze_support()

def freeze_support ( ) : if ( ( sys . platform == 'win32' ) and getattr ( sys , 'frozen' , False ) ) : from multiprocessing . forking import freeze_support freeze_support ( )
run code for process object if this in not the main process .