Object 'int' has no attribute 'startswith'
2 answers
Something in your program is trying to call a method on an startswith
object, probably because it expects it to be a string. You need to pay attention to the traceback to see what it's called on and why it's an integer instead of a string. Did you miss an integer where the string was expected?
+12
a source to share