摘要:
Python类型:types模块 - ArcherXu - 博客园Python类型:types模块Python内建函数type(object),用于返回当前object对象的类型。例如:>>> type(1)
<type 'int'>
>>> type("1")
<type 'str'>types模块定义了python中所有的类型,包括NoneType, TypeType, ObjectType.... 阅读全文
posted @ 2013-01-04 01:27
lexus
阅读(492)
评论(0)
推荐(0)
浙公网安备 33010602011771号