摘要: 类型转换 int(x [,base ]) 整数 long(x [,base ]) 长整数 float(x ) 浮点数 complex(real [,imag ]) 复数 str(x ) 字符串 repr(x ) 表达式字符串 eval(str ) 用来计算在字符串中的有效Python表达式,并返回一 阅读全文
posted @ 2015-10-15 17:30 irun 阅读(237) 评论(0) 推荐(0) 编辑