From af14c06b0a8443f28d92c6eee884d125b2504b00 Mon Sep 17 00:00:00 2001 From: jungwinter Date: Fri, 29 Dec 2017 10:34:54 +0900 Subject: [PATCH] Fix xrange to range for supporting python3 --- examples/loader_spin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/loader_spin.py b/examples/loader_spin.py index c666c0c..c06d33e 100644 --- a/examples/loader_spin.py +++ b/examples/loader_spin.py @@ -14,7 +14,7 @@ try: spinner.start() - for i in xrange(100): + for i in range(100): spinner.text = '{0}% Downloaded dataset.zip'.format(i) time.sleep(random.random()) spinner.succeed('Downloaded dataset.zip')