Skip to content

Commit

Permalink
looking at lzw; works on x260 / ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
rikojacob committed Jan 27, 2018
1 parent 17e0d40 commit ff601d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion algs4/strings/lzw.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ def expand():

def main():
"""
Sample client that calss compress() if the command-line
Sample client that calls compress() if the command-line
argument is "-", and expand() if it is "+".
Example: echo huhu | python3 algs4/strings/lzw.py - | python3 algs4/strings/lzw.py +
"""
if(sys.argv[1] == '-'):
compress()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="algs4_python",
version="0.2.0.17",
version="0.2.0.18",
packages= [
'algs4.fundamentals',
'algs4.sorting',
Expand Down

0 comments on commit ff601d5

Please sign in to comment.