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
|
@ -35,6 +35,8 @@ The Progress class is designed to be used as a *context manager* which will star
|
|||
|
||||
Here's a simple example::
|
||||
|
||||
import time
|
||||
|
||||
from rich.progress import Progress
|
||||
|
||||
with Progress() as progress:
|
||||
|
|
Loading…
Reference in New Issue