We can use the isinstance(var, class) to check if the var is instance of given class. In Python 2.x the base class of str and unicode is ...
確定! 回上一頁