10.1.6.1.3. freeflux.utils.progress

Define the Progress class.

10.1.6.1.3.1. Attributes

__author__

10.1.6.1.3.2. Classes

Progress

Progress instances can be either used in a WITH statement or assigned to a variable.

10.1.6.1.3.3. Module Contents

freeflux.utils.progress.__author__ = 'Chao Wu'[source]
class freeflux.utils.progress.Progress(descp, silent=False)[source]

Progress instances can be either used in a WITH statement or assigned to a variable. In the second case, the start and stop method should be called explicitely.

descp[source]
count = 0[source]
is_running = False[source]
silent = False[source]
__enter__()[source]
__exit__(type, value, traceback)[source]
_sleeptime()[source]
_show_progress(descp)[source]
start()[source]
stop()[source]