when I change the following code it makes the text folder but I come up with more errors than I had before.
As always - your help is greatly appreciated!
self.textpath = self.homepath / 'text' self.text.mkdir(exist_ok=True)This is different from my previous version:
self.textpath = self.homepath / 'text' self.textpath.mkdir(exist_ok=True)And the resulting error:
Error: RESTART: C:/Users/toliver/AppData/Local/Programs/Python/Python36/WOGCC/WOGCC_File_Downloads delete.py
Traceback (most recent call last):
File "C:/Users/toliver/AppData/Local/Programs/Python/Python36/WOGCC/WOGCC_File_Downloads delete.py", line 71, in <module>
GetCompletions('api.txt')
File "C:/Users/toliver/AppData/Local/Programs/Python/Python36/WOGCC/WOGCC_File_Downloads delete.py", line 22, in __init__
self.parse_and_save(getpdfs=True)
File "C:/Users/toliver/AppData/Local/Programs/Python/Python36/WOGCC/WOGCC_File_Downloads delete.py", line 34, in parse_and_save
for file in filelist:
NameError: name 'filelist' is not defined
Thoughts? Ideas?As always - your help is greatly appreciated!