class_docstr: Initializes a progress bar object that allows visuzalization
  of an iterational computation in the standard output screen.
  
  Parameters
  ----------
  iterations : `int`
      Number of iterations for the iterative computation.
  track_time : `bool` (default: `True`)
      Prints elapsed time when loop has finished.
  stream : `int` (default: 2).
      Setting the output stream.
      Takes `1` for stdout, `2` for stderr, or a custom stream object
  title : `str` (default: `''`).
      Setting a title for the percentage indicator.
  monitor : `bool` (default: `False`)
      Monitors CPU and memory usage if `True` (requires `psutil` package).
  update_interval : float or int (default: `None`)
      The update_interval in seconds controls how often the progress
      is flushed to the screen.
      Automatic mode if `update_interval=None`.
class_docstr_tok: ["Initializes","a","progress","bar","object","that","allows","visuzalization","of","an","iterational","computation","in","the","standard","output","screen",".","Parameters","--","--","--","--","--","iterations",":","`","int","`","Number","of","iterations","for","the","iterative","computation",".","track_time",":","`","bool","`","(","default",":","`","True","`",")","Prints","elapsed","time","when","loop","has","finished",".","stream",":","`","int","`","(","default",":","2",")",".","Setting","the","output","stream",".","Takes","`","1","`","for","stdout",",","`","2","`","for","stderr",",","or","a","custom","stream","object","title",":","`","str","`","(","default",":","`","``","`",")",".","Setting","a","title","for","the","percentage","indicator",".","monitor",":","`","bool","`","(","default",":","`","False","`",")","Monitors","CPU","and","memory","usage","if","`","True","`","(","requires","`","psutil","`","package",")",".","update_interval",":","float","or","int","(","default",":","`","None","`",")","The","update_interval","in","seconds","controls","how","often","the","progress","is","flushed","to","the","screen",".","Automatic","mode","if","`","update_interval=None","`","."]
code: def _cache_percent_indicator(self, last_progress):
      self._cached_output += "[%3d %%]" % (last_progress)
  
imports: import time
  from .prog_class import Prog
label_desc: Use image node_id 2 for calling the ProgPercent obj's underlying member method code with example usage: obj._cache_percent_indicator(last_progress) without return types