code: def get_unicodedata():
      
  
      import unicodedata
  
      fail = False
      uver = unicodedata.unidata_version
      path = os.path.join(os.path.dirname(__file__), 'tools')
      fp, pathname, desc = imp.find_module('unidatadownload', [path])
      try:
          unidatadownload = imp.load_module('unidatadownload', fp, pathname, desc)
          unidatadownload.get_unicodedata(uver, no_zip=True)
      except Exception:
          print(traceback.format_exc())
          fail = True
      finally:
          fp.close()
  
      assert not fail, "Failed to obtain unicodedata!"
      return uver
docs: Download the `unicodedata` version for the given Python version.