def set_process_name(process_name):
 _set_argv(process_name)
 if (platform.system() == 'Linux'):
  _set_prctl_name(process_name)
 elif (platform.system() in ('Darwin', 'FreeBSD', 'OpenBSD')):
  _set_proc_title(process_name)

def set_process_name ( process_name ) : _set_argv ( process_name ) if ( platform . system ( ) == 'Linux' ) : _set_prctl_name ( process_name ) elif ( platform . system ( ) in ( 'Darwin' , 'FreeBSD' , 'OpenBSD' ) ) : _set_proc_title ( process_name )
renames our current process from "python <args>" to a custom name .