Python 3
91 results found
-
TypeError: 'NoneType' object is not subscriptable in Python
I get an exception throw TypeError: 'NoneType' object is not subscriptable in Python 3.8.2 when I trying to sort an array ascending.
-
TypeError: object of type 'NoneType' has no len() in Python
I get an exception TypeError: object of type 'NoneType' has no len() in Python 3.8.0 when I trying to sort an array.
-
TypeError: 'list' object is not callable in Python 3.8.2
I got an exception throw TypeError: 'list' object is not callable in Python 3.8.2 when I trying to change text to upper case.
-
TypeError: only integer scalar arrays can be converted to a scalar index in Python
I get an exception TypeError: only integer scalar arrays can be converted to a scalar index in Python when I trying concat two arrays
-
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() in Python
Python throws an exception ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
-
SyntaxError: unexpected EOF while parsing in Python 3.8.2
Throw the error SyntaxError: unexpected EOF while parsing in Python 3.8.2 when I trying to loop an array of string items.
-
Error in file(file, "rt") : cannot open the connection with R in Python
Throw the error Error in file(file, "rt") : cannot open the connection with R in Python when I trying to read a CSV file
-
IndentationError: unindent does not match any outer indentation level in Python
I got an error IndentationError: unindent does not match any outer indentation level in Python 3.8.2 when I trying to get the value of an item in an array.
-
Throw TypeError: unhashable type: 'list' in Python 3.8.2
Throw an error TypeError: unhashable type: 'list' in Python 3.8.2 when I trying to print out the items of an array.
-
IndexError: list index out of range in an array Python
Throw an error IndexError: list index out of range in Python 3.8.2 when I trying to loop and print all items of it.
-
TypeError: a bytes-like object is required, not 'str' in Python
Throw an error TypeError: a bytes-like object is required, not 'str' in Python when I trying to replace text in a string of bytes.
-
SyntaxError: EOL while scanning string literal in Python
Throw an error SyntaxError: EOL while scanning string literal in Python when I trying to print out the passages with multiple lines
-
How to convert bytes to string data type in Python 3?
How to Convert Bytes to String in Python 3.8.2? I want to convert bytes text to symbols and display it into the console window.
-
IndentationError: expected an indented block in Python
I got an error IndentationError: expected an indented block in Python when running a small method check integer number.
-
FileNotFoundError: [Errno 2] No such file or directory in Python
Get throw the error FileNotFoundError: [Errno 2] No such file or directory in Python when trying to read a csv file