Erreurs Python
Solutions detaillees pour les erreurs Python les plus frequentes.
'str' object does not support item assignment unsupported operand type(s) for +: 'int' and 'str' object of type 'NoneType' has no len() missing 1 required positional argument: 'self' can only concatenate str (not 'int') to str takes 0 positional arguments but 1 was given could not convert string to float not enough values to unpack (expected 3, got 2) math domain error 'str' object has no attribute 'append' tuple index out of range module 'X' has no attribute 'Y' 'dict' object has no attribute 'has_key' cannot import name 'X' from 'Y' No module named 'X' No module named 'pip' unexpected EOF while parsing EOL while scanning string literal No such file or directory expected an indented block dictionary changed size during iteration MemoryError 'ascii' codec can't encode character Connection refused