Skip to content

Commit

Permalink
remove old files
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBicPen committed Feb 16, 2020
1 parent 42f360a commit 59e3182
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 66 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
env
.vscode/settings.json
.vscode
.idea
__pycache__
11 changes: 11 additions & 0 deletions PlacesAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ def find_route(place_ids, mode="transit", departure_time=0):
input_text = input("Enter your query text: ")
if (input_text == "quit"): exit(0)
places = pull_data(input_text)
# while True:
# for i in range(len(places)):
# print("{0}: {1}".format(i, places[i]))
# input_text = input("Would you like to remove any of these items?")
# try:
# places.pop(int(input_text), None)

# except:
# print("Please input a number")
# if input_text == "":
# break
print(find_route([place['place_id'] for place in places.values()]))

#Exit on ctrl+c
Expand Down
4 changes: 0 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,5 @@ def main():
#printall(x)






if __name__ == "__main__":
main()
61 changes: 0 additions & 61 deletions te.py

This file was deleted.

0 comments on commit 59e3182

Please sign in to comment.