mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
modifyied the script so it is fun to run in python interpretor@
This commit is contained in:
parent
e39644ce60
commit
8b25d18a9d
1 changed files with 6 additions and 4 deletions
10
etl/main.py
10
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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue