Exceptions in Python
In previous articles we’ve seen how to read data from a file, or write data to a file in Python. This assumed everything was working, such as the file was there, and could be opened. But that won’t always be the case. In fact, there are a lot of types of errors that can occur…