Hi - I am trying to get a Flask app to run, and my app code has some file paths to some files in the project directory structure which the app opens and parses.
quote_files = ['._data/DogQuotes/DogQuotesTXT.txt',
'._data/DogQuotes/DogQuotesDOCX.docx',
'._data/DogQuotes/DogQuotesPDF.pdf',
'._data/DogQuotes/DogQuotesCSV.csv']
The flask app throws an error on loading saying it cannot find the directory or files (see below). I have a CLI interface to the same program which works just fine. Can anyone advise me on this?
FileNotFoundError: [Errno 2] No such file or directory: '._data/DogQuotes/DogQuotesTXT.txt'