From 8b25d18a9d8c9bc1ed60f89ceaf3c76e5afeb52e Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Sat, 8 Mar 2025 07:18:50 +0000 Subject: [PATCH] modifyied the script so it is fun to run in python interpretor@ --- etl/main.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/etl/main.py b/etl/main.py index 3a5c692..720144b 100644 --- a/etl/main.py +++ b/etl/main.py @@ -18,10 +18,10 @@ def main(): # list_ = pdfReaderToText(INTERESTING_FILE_LOC).get_list_of_test() # pprint(list_) - # POC Scraper -> This part of the code get ths names of wrong format - #south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION_SERVICE) - #list_of_names = south_coast_scraper.list_of_names_that_has_the_wrong_date_format() - #logger.info(pformat(list_of_names)) + #POC Scraper -> This part of the code get ths names of wrong format + south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION_SERVICE) + list_of_names = south_coast_scraper.list_of_names_that_has_the_wrong_date_format() + logger.info(pformat(list_of_names)) # POC Scraper -> This part of the code gets every variation of housing_assocation names # south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION_SERVICE) @@ -40,6 +40,8 @@ def main(): print("Current working directory:", os.getcwd()) raise RuntimeError("hello world") +def print_hello(): + print("hello man") # def create_temp_file(dict_content): # with tempfile.NamedTemporaryFile(mode='w+', delete=False, suffix='.txt') as temp_file: