摘要: 1 import types 2 3 aaa = 0 4 print type(aaa) 5 if type(aaa) is types.IntType: 6 print "the type of aaa is int" 7 if isinstance(aaa,int): 8 p... 阅读全文
posted @ 2014-09-04 00:40 feiling 阅读(344) 评论(0) 推荐(0) 编辑