When should I use try/except instead of if/else in Python?
I'm writing a small Python program and need to choose a Desktop directory. Right now I'm checking whether `Path.home() / "Desktop"` exists, and otherwise falling back to `Path.home()…
I'm writing a small Python program and need to choose a Desktop directory. Right now I'm checking whether `Path.home() / "Desktop"` exists, and otherwise falling back to `Path.home()…