Basically I want to do this:
obj = \'str\' type ( obj ) == string
I tried:
type ( obj ) == type ( string )
Use str instead of string
type ( obj ) == str
Explanation
>>> a = "Hello" >>> type(a)==str True >>> type(a) >>>