Commit 9eb0b792 by Michelle Awh

docstrings for WikiWikiHow

parent bc077917
Showing with 9 additions and 1 deletions
......@@ -8,7 +8,10 @@ import webbrowser
def interact(filters = {}):
'''
Initializes GUI for interaction with the SearchResults class
Calling interact() will open a window where search terms and other filters
can be entered.
The window can be closed by clicking the x at the top right of the box.
'''
......@@ -41,6 +44,11 @@ def interact(filters = {}):
def display_results(filters, results_pg_active):
'''
When a Search is made using the GUI from interact(),
this function creates a window that displays the results, along
with a list of the filters that were used in the search.
'''
query = filters['Query']
input_filters = dict(filters)
if filters['date_updated'] == 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment