mirror of https://github.com/Textualize/rich.git
Fixed simple example
Simple example will not work unless import time is added
This commit is contained in:
parent
5350603e8a
commit
4c1a1b306f
|
@ -34,7 +34,9 @@ If you require multiple tasks in the display, or wish to configure the columns i
|
|||
The Progress class is designed to be used as a *context manager* which will start and stop the progress display automatically.
|
||||
|
||||
Here's a simple example::
|
||||
|
||||
|
||||
import time
|
||||
|
||||
from rich.progress import Progress
|
||||
|
||||
with Progress() as progress:
|
||||
|
|
Loading…
Reference in New Issue