![]() The associated value is a string giving details about the type mismatch. ![]() TypeError - Raised when an operation or function is applied to an object of inappropriate type.Synta圎rror - Raised when the parser encounters a syntax error.OSError - Raised when a function returns a system-related error.NameError - Raised when a local or global name is not found.KeyboardInterrupt - Raised when the user hits the interrupt key (normally Control-C or Delete).KeyError - Raised when a mapping (dictionary) key is not found in the set of existing keys.Inde圎rror - Raised when a sequence subscript is out of range.import fails to find a name that is to be imported. ImportError - Raised when an import statement fails to find the module definition or when a from.IOError - Raised when an I/O operation (such as a print statement, the built-in open() function or a method of a file object) fails for an I/O-related reason, e.g., “file not found” or “disk full”.AttributeError - Raised when an attribute reference or assignment fails.Exception (this is what almost all the others are built off of).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |