NotADirectoryErrorNotADirectoryError
A directory operation was attempted on a path that is not a directory.
re.errorThe regular expression pattern contains invalid syntax.
The regex pattern has syntax errors such as unmatched brackets, invalid escape sequences, or incorrect quantifier usage. Python regex uses different syntax than some other languages.
Use raw strings for patterns: re.compile(r'pattern'). Check for unescaped special characters. Test your regex with re.compile() separately. Use an online regex tester to validate the pattern.
import re; re.compile("[invalid") # re.error: unterminated character setNotADirectoryErrorA directory operation was attempted on a path that is not a directory.
SystemExitRaised by sys.exit() to request program termination.
requests.exceptions.HTTPErrorAn HTTP error response (4xx or 5xx) was received and raise_for_status() was called.
IsADirectoryErrorA file operation was attempted on a path that is a directory.
AttributeErrorAn object does not have the requested attribute or method.
UnicodeEncodeErrorA Unicode string could not be encoded to the target encoding.