From e3d06334c80e16e32b6c15eefdf8523bbfa4803b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 20 Mar 2011 12:49:40 -0400 Subject: [PATCH] better import examples --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 23a6fb5..8367882 100644 --- a/README.rst +++ b/README.rst @@ -27,6 +27,8 @@ Example I want to indent my console text. :: + >>> from clint.textui import puts, indent + >>> puts('not indented text') >>> with indent(4): >>> puts('indented text') @@ -45,6 +47,8 @@ I want to quote my console text (like email). :: I want to color my console text. :: + >>> from clint.textui import colored + >>> puts(colored.red('red text')) red text