Typeerror: Cannot Concatenate 'str' And 'dict' Objects
I am a novice in the field, and I wanted to create a program that was useful and fast handling, and run this script, I get this error, and I could not get this error. # -*- coding:
Solution 1:
the error message should be clear, you can't use +
operator to sum a string and a dictionary, maybe you want to convert the dict to a string. If getFTPConfig('Pass') is returning a dictionary then
str(getFTPConfig('Pass'))+"whatever"
Post a Comment for "Typeerror: Cannot Concatenate 'str' And 'dict' Objects"