Skip to content

Commit

Permalink
add .py to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shellfly committed Jun 9, 2019
1 parent f6a2dca commit 6f78f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion algs4/bag.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Execution: python bag < input.txt
Execution: python bag.py < input.txt
% more tobe.txt
to be or not to - be - - that - - - is
Expand Down
6 changes: 3 additions & 3 deletions algs4/degrees_of_separation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//algs4.cs.princeton.edu / 41graph / movies.txt
% python degrees_of_separation routes.txt " " "JFK"
% python degrees_of_separation.py routes.txt " " "JFK"
LAS
JFK
ORD
Expand All @@ -21,7 +21,7 @@
EWR
Not in database.
% python degrees_of_separation movies.txt "/" "Bacon, Kevin"
% python degrees_of_separation.py movies.txt "/" "Bacon, Kevin"
Kidman, Nicole
Bacon, Kevin
Woodsman, The(2004)
Expand All @@ -35,7 +35,7 @@
Dead Men Don't Wear Plaid(1982)
Grant, Cary
% python degrees_of_separation movies.txt "/" "Animal House (1978)"
% python degrees_of_separation.py movies.txt "/" "Animal House (1978)"
Titanic(1997)
Animal House(1978)
Allen, Karen(I)
Expand Down

0 comments on commit 6f78f1d

Please sign in to comment.