class_docstr: StdoutProgressIndicator(name)
  
  A progress indicator that shows the progress in stdout. It
  assumes that the tty can appropriately deal with backspace
  characters.
class_docstr_tok: ["StdoutProgressIndicator","(","name",")","A","progress","indicator","that","shows","the","progress","in","stdout",".","It","assumes","that","the","tty","can","appropriately","deal","with","backspace","characters","."]
code: def _update_progress(self, progressText):
      # If progress is unknown, at least make something move
      if not progressText:
          i1, i2, i3, i4 = "-\\|/"
          M = {i1: i2, i2: i3, i3: i4, i4: i1}
          progressText = M.get(self._chars, i1)
      # Store new string and write
      delChars = "\b" * len(self._chars)
      self._chars = progressText
      sys.stdout.write(delChars + self._chars)
      sys.stdout.flush()
  
imports: from collections import OrderedDict
  import numpy
  import os
  import re
  import struct
  import sys
  import time
  import logging
label_desc: Use image node_id 2 for calling the StdoutProgressIndicator obj's underlying member method code with example usage: obj._update_progress(progressText) without return types