Erreurs Python
Solutions detaillees pour les erreurs Python les plus frequentes.
NotImplementedError unsupported operand type(s) for +: 'int' and 'str' 'str' object does not support item assignment 'dict' object has no attribute 'has_key' 'int' object is not callable object of type 'NoneType' has no len() can only concatenate str (not 'int') to str AssertionError module 'X' has no attribute 'Y' 'str' object has no attribute 'append' Connection refused No such file or directory cannot import name 'X' from 'Y' unexpected indent list index out of range tuple index out of range Expecting value: line 1 column 1 (char 0) MemoryError No module named 'pip' math range error maximum recursion depth exceeded EOL while scanning string literal invalid syntax 'utf-8' codec can't decode byte