code: def determine_hosts_path(platform=None):
          
          if not platform:
              platform = sys.platform
          if platform.startswith('win'):
              result = r"c:\windows\system32\drivers\etc\hosts"
              return result
          else:
              return '/etc/hosts'
docs: Return the hosts file path based on the supplied
          or detected platform.
          :param platform: a string used to identify the platform
          :return: detected filesystem path of the hosts file