From a56451108d74a645f7f492271a084987d3e694bc Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 22 Apr 2020 23:53:04 -0700 Subject: [PATCH] Add docstring to top of main timesearch.py launch file. --- timesearch.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/timesearch.py b/timesearch.py index 3cec939..bdd5ea9 100644 --- a/timesearch.py +++ b/timesearch.py @@ -1,10 +1,17 @@ +''' +This is the main launch file for Timesearch. + +When you run `python timesearch.py get_submissions -r subredditname` or any +other command, your arguments will first go to timesearch_modules\__init__.py, +then into timesearch_modules\get_submissions.py as appropriate for your command. +''' + import logging handler = logging.StreamHandler() log_format = '{levelname}:timesearch.{module}.{funcName}: {message}' handler.setFormatter(logging.Formatter(log_format, style='{')) logging.getLogger().addHandler(handler) - import sys import timesearch_modules