摘要: Python 判断数据类型有type和isinstance 基本区别在于: type():不会认为子类是父类 isinstance():会认为子类是父类类型 执行结果如下: 用isinstance判断mongDB中的一些数据类型: 字符串、int、long、float - isinstance(da 阅读全文
posted @ 2017-06-30 17:11 chanjuan 阅读(37393) 评论(0) 推荐(1) 编辑