code: def platform_cache_dir():
      
      if WIN32:  # nocover
          dpath_ = '~/AppData/Local'
      elif LINUX:  # nocover
          dpath_ = '~/.cache'
      elif DARWIN:  # nocover
          dpath_  = '~/Library/Caches'
      else:  # nocover
          raise NotImplementedError('Unknown Platform  %r' % (sys.platform,))
      dpath = normpath(expanduser(dpath_))
      return dpath
docs: Returns a directory which should be writable for any application
      This should be used for temporary deletable data.