summaryrefslogtreecommitdiff
path: root/bin/worms.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/worms.py')
-rwxr-xr-xbin/worms.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/worms.py b/bin/worms.py
index 4941679..be46d3d 100755
--- a/bin/worms.py
+++ b/bin/worms.py
@@ -1,15 +1,16 @@
#!/usr/bin/env python
"""
-This is an example application for the 'blessed' Terminal library for python.
+This is an example application for the 'blessings' Terminal library for python.
It is also an experiment in functional programming.
"""
from __future__ import division, print_function
from collections import namedtuple
-from random import randrange
from functools import partial
-from blessed import Terminal
+from random import randrange
+
+from blessings import Terminal
# python 2/3 compatibility, provide 'echo' function as an