摘要:
基本定制型C.__init__(self[, arg1, ...]) 构造器(带一些可选的参数)C.__new__(self[, arg1, ...]) 构造器(带一些可选的参数);通常用在设置不变数据类型的子类。C.__del__(self) 解构器C.__str__(self) 可打印的字符输出... 阅读全文
posted @ 2014-05-13 23:45
ConCho
阅读(4375)
评论(2)
推荐(1)
摘要:
本文 为博主看了 vamei 的blog 写下的随笔 . 致敬Vamei1.type() 可以显示参数的类型 如 : a=12 type(a) 为 int2.python的基本类型 为 int float bool string 如 int : i=1 , float : f=12.5 ,... 阅读全文
posted @ 2014-05-13 02:48
ConCho
阅读(570)
评论(1)
推荐(0)
浙公网安备 33010602011771号