TypeError: object is not callableTypeError: object is not callable
An object that is not a function was called with parentheses ().
ValueErrorA function received an argument of the right type but an inappropriate value.
The argument has the correct type but an invalid value. Common examples: int('abc'), list.remove(x) where x is not in the list, math.sqrt(-1), or unpacking the wrong number of values.
Validate input values before passing them to functions. Use try-except around conversions. Check that values are within expected ranges. For unpacking, ensure the number of variables matches the number of values.
int("abc") # ValueError: invalid literal for int()TypeError: object is not callableAn object that is not a function was called with parentheses ().
BufferErrorAn operation on a buffer object failed.
PermissionErrorThe operation is not permitted due to insufficient file system permissions.
ConnectionAbortedErrorThe connection was aborted by the local machine.
FutureWarningA warning about behavior that will change in a future version.
ModuleNotFoundErrorPython could not find the specified module to import.