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 __init__(
      self,
      iterations,
      track_time=True,
      stream=2,
      title="",
      monitor=False,
      update_interval=None,
  ):
      Prog.__init__(
          self,
          iterations,
          track_time,
          stream,
          title,
          monitor,
          update_interval,
      )
      self.last_progress = 0
      self._print()
      if monitor:
          try:
              self.process.cpu_percent()
              self.process.memory_percent()
          except AttributeError:  # old version of psutil
              self.process.get_cpu_percent()
              self.process.get_memory_percent()
  
imports: import time
  from .prog_class import Prog
label_desc: Use image node_id 1 to create a new ProgPercent object from inherited base classes: Prog with example: obj = ProgPercent(iterations, track_time, stream, title, monitor, update_interval)