microprobe.utils.misc.Progress

class Progress(total, msg='', out=<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>)[source]

Bases: object

A counting progress indicator.

__init__(total, msg='', out=<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>)[source]
Parameters:
  • total (int) – Objective progress count.

  • msg (str) – Message to prefix to the progress indicator.

  • out (file) – Output file.

Methods

__init__(total[, msg, out])

arg total:

Objective progress count.