parameters: ()
docstring: Detects the Operating System and sets a global variable to target OS
      specific features to the right platform.
      Options for g_platform_os are: win, lin, mac
docstring_summary: Detects the Operating System and sets a global variable to target OS
      specific features to the right platform.
      Options for g_platform_os are: win, lin, mac
docstring_tokens: Detects the Operating System and sets a global variable to target OS specific features to the right platform . Options for g_platform_os are : win lin mac
function: def detect_os():
      """
      Detects the Operating System and sets a global variable to target OS
      specific features to the right platform.
      Options for g_platform_os are: win, lin, mac
      """
      global g_platform_os
      os = platform.system()
      if os == "Windows":
          g_platform_os = "windows"
      elif os == "Linux":
          g_platform_os = "linux"
      elif os == "Darwin":
          g_platform_os = "mac"
function_tokens: def detect_os ( ) : global g_platform_os os = platform . system ( ) if os == "Windows" : g_platform_os = "windows" elif os == "Linux" : g_platform_os = "linux" elif os == "Darwin" : g_platform_os = "mac"