I'm writing a script where the user selects a directory and hits ok.
That I've sussed pretty easily, but I'm trying to sort error handling side, but it's not going to plan.
Essentially, I want to continue the script unless OSError Errno 2 is called.
at the moment, I have:
folder = selection
print "Select a folder, not a file"