Should I use try/except or if/else to check a file path?
I'm choosing between a Desktop folder under my home directory and one under OneDrive. Should I check whether the first path exists with if/else, or use try/except instead?
I'm choosing between a Desktop folder under my home directory and one under OneDrive. Should I check whether the first path exists with if/else, or use try/except instead?