Python 判断 数据类型有type和isinstance. 基本区别在于: ... 字符串、int、long、float - isinstance(data, (int, str, types.LongType, float))
確定! 回上一頁