摘要: 1、python输出函数 print 该函数可以打印出字符串、数值类型等数据结构 如 print(20) 打印出202、id(变量) id函数得到的是变量的地址 如 x=20 print(x) 得到的结果是 5059111683、type(变量) type函数得到的是变量的类型 如 x=20 type(x) 返回int类型 4、python字符函数库5、python数学函数库6、python网络编程库7、help(函数名) 查看系统的帮助 如help(id)查看id函数帮助 help(str)查看字符串函数帮助8、import math 引入数学函数库9、python socket 网络函数库 阅读全文
posted @ 2013-12-16 01:52 罗导 阅读(328) 评论(0) 推荐(0) 编辑