public ProgressBar(total as Long, label as String = "Progress", bytes as Boolean = false, standardError as Boolean = true)
Creates a bar; no output is written until update is called.
| Parameter | Description |
|---|---|
total | Non-negative amount of work; zero denotes an empty operation. |
label | Single-line description. |
bytes | Display amounts in MiB instead of operation counts. |
standardError | Select stderr (default) rather than stdout. |
progress = ProgressBar(1048576l, "Download", bytes=true)