![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 84
jingruixiaozhuang
这个作者很懒,什么都没留下…
展开
-
python(2)-------The syntax of python
第一节、if测试 if测试的一般形式:if-elif-else语法举例(Python中的多路分支):[python] view plaincopymyname='Sophia' if myname=='Jane': print "The is the first sister"转载 2013-12-01 12:57:41 · 543 阅读 · 0 评论 -
Python(4)-----The function operation of python
Python 第四部分 函数 目录第15章 函数基础... 3函数作用... 3Def语句是实时执行的... 3Python 中的多态... 4第二个例子,寻找序列的交集... 4什么时候python将会创建函数?. 5检查传入函数的对象类型有什么错误?. 5第16章 作用域和参数... 5作用转载 2013-12-01 12:16:25 · 1125 阅读 · 0 评论 -
python(3)------The object type of python
1.总览——Python程序可以分解为模块、语句、表达式和对象程序有模块构成(模块的概念上一章中提过)模块包含语句语句包含表达式表达式建立并处理对象2.Python核心数据类型表2.1 Python内置对象类型以上是Python内置对象基本类型,当然不完全。比如我们在编写网络脚本时,可以使用套转载 2013-12-01 13:01:03 · 1299 阅读 · 0 评论 -
python os模块
#!/usr/bin/python #coding:utf8 # python 中os模块的学习 import os """ os模块方法: ==================================================================== @1.)文件操作: remove()/unlink()转载 2015-01-14 11:42:04 · 718 阅读 · 0 评论