“KeyError: ‘GOOGLE_APPLICATION_CREDENTIALS‘” It was way too early in the morning for this error. See if you can spot the problem. I hadn’t had my coffee before trying to debug the code I’d written the night before, so it will probably take you less time than it did me. app.py: file_handling.py: See the problem? This was… Continue reading Adventures in Import-land, Part II
Articles on error handling
From Webscraper to Wordcloud
By Cedric Sambre on 27 November 2019
After going through the web scraping learning paths, I decided to get my hands dirty and apply my freshly gathered knowledge on a real life project. I explain some difficulties you might encounter while scraping and I also show some libraries that can help you visualizing data you have obtained.
Errors should never pass silently
By Bob Belderbos on 18 January 2017
In this article some important anti-patterns regarding error handling and how to solve them making your code more Pythonic and easier to maintain.