This problem is within a collective: a subcommunity defined by tags with appropriate material and specialists. The Overflow Web siteSo increasing exceptions is considered to be an appropriate, and Pythonic, solution for flow Command as part of your method. And a person need to look at managing lacking files with IOErrors, as opposed to if statement