def open_anything():
 sys_name = platform.system()
 if (sys_name == 'Darwin'):
  base_cmd = 'open'
 elif (sys_name == 'Windows'):
  base_cmd = 'start'
 else:
  base_cmd = 'xdg-open'
 return base_cmd

def open_anything ( ) : sys_name = platform . system ( ) if ( sys_name == 'Darwin' ) : base_cmd = 'open' elif ( sys_name == 'Windows' ) : base_cmd = 'start' else : base_cmd = 'xdg-open' return base_cmd
return the system command that dispatches execution to the correct program .