code: def show(self, progress, msg=None):
          
          if self.whole_tag.style.display == "none":
              self.whole_tag.style.display = "block"
  
          # allow either direct percentage value, or (done / len(all)) pairs
          if isinstance(progress, int) or isinstance(progress, float):
              percentage = progress
          else:
              percentage = self.__class__._compute_percentage(progress)
  
          # toggle animation
          self.tag.class_name = "progress-bar"
          if percentage < 100:
              self.tag.class_name += " progress-bar-striped active"
          else:
              msg = "Hotovo"
  
          # show percentage in progress bar
          self.tag.aria_valuemin = percentage
          self.tag.style.width = "{}%".format(percentage)
  
          if msg:
              self.tag.text = msg
docs: Show the progress bar and set it to `progress` tuple or value.
  
          Args:
              progress (tuple / int / float): Tuple ``(done / len(all))`` or
                  the direct percentage value as int / float.
              msg (str, default None): Alternative background description.