In this video I show you how to use the try and except to capture errors so that your code doesn't crash.
As I'm coding this in real time and don't cut out my mistakes I make along the way, you get to see and hear me working out how to rectify any issues.
You can find me via:
http://www.martinparkers.com
/ @mr_martinparker
https://www.github.com/RasPiPkr