It's not clear to me whether WindowsError is available on linux or not, after I read the document. But I see WindowsError in shutil.py. Could you somebody let me know what cause the following error?
>>> try: ... raise WindowsError('WindowsError') ... except WindowsError as e: ... print e ... Traceback (most recent call last): File "<stdin>", line 3, in <module> NameError: name 'WindowsError' is not defined -- http://mail.python.org/mailman/listinfo/python-list