class_docstr: Mixin class for console shells that support a progress bar.
class_docstr_tok: ["Mixin","class","for","console","shells","that","support","a","progress","bar","."]
code: def __init__(self):
      try:
          self.__class__.progress_bar = ProgressBar(
              TerminalController()
          )
      except ValueError:
          # Terminal is not capable enough, disable progress handler
          self._disable_handlers()
      except TypeError:
          # Probably running in Python 3.x and we hit a str/bytes issue;
          # as a temporary solution, disable the progress handler
          self._disable_handlers()
  
imports: from abc import ABCMeta, abstractmethod
  import re
  import sys
  from igraph import __version__
  from igraph._igraph import set_progress_handler, set_status_handler
  from igraph.configuration import Configuration
label_desc: Use image node_id 1 to create a new ConsoleProgressBarMixin object  with example: obj = ConsoleProgressBarMixin()