I am working with a python script that calls some multiprocessing code that doesn't work under windows. I'd like to simply test whether os.name == "nt"
and produce a message saying the action isn't supported under windows, as the stack trace is cryptic and involves pickling.
Is there a conventional Exception for this condition? Didn't see one in the docs. To clarify, I am not asking how to tell whether I am windows. I believe the == test above is fine for that.