I'm writing a small parser class for a personal project. The class will essentially parse popular playlist files and return useful information.
Since the class will interact with files, I'm not sure about the best way to handle errors. I'm a Linux guy and generally do things in errno fashion but I'm wondering that whether exceptions are a better selection or not.
In short what's the best way to handle these things in python world?
Gracias de antemano.
preguntado el 08 de noviembre de 11 a las 13:11