How to get exception message in Python properly
What is the best way to get exceptions’ messages from components of standard library in Python?
What is the best way to get exceptions’ messages from components of standard library in Python?
I am using BeautifulSoup and parsing some HTMLs.