This is for everyone.
In the begning when God created the heavens and the earth. the earth was a formless void and darkness covered the face of the deep, while a wind from God swept over the face of the waters. Then God said,"Let there be light"; and there was light. And God saw that the light was good; and God separated the light from the darkness. (GENESIS 1:1-4)
#《零基础学python》(第二版)
##预备动作
##第一部分:基础知识
- 集成开发环境==>集成开发环境;python的IDE
- 数和四则运算==>整数和浮点数;变量;整数溢出问题;
- 除法==>整数、浮点数相除;from future import division;余数;四舍五入;
- 常用数学函数和运算优先级==>math模块,求绝对值,运算优先级
- 写一个简单程序==>程序和语句,注释
- 字符串(1)==>字符串定义,转义符,字符串拼接,str()与repr()区别
- 字符串(2)==>raw_input,print,内建函数,原始字符串,再做一个小程序
- 字符串(3)==>字符串和序列,索引,切片,基本操作
- 字符串(4)==>字符串格式化,常用的字符串方法
- 字符编码==>编码的基础知识,python中避免汉字乱码
- 列表(1)==>列表定义,索引和切片,列表反转,元素追加,基本操作
- 列表(2)==>列表append/extend/index/count方法,可迭代的和判断方法,列表原地修改
- 列表(3)==>列表pop/remove/reverse/sort方法
- 回顾列表和字符串==>比较列表和字符串的相同点和不同点
- 元组==>元组定义和基本操作,使用意义
- 字典(1)==>字典创建方法、基本操作(长度、读取值、删除值、判断键是否存在)
- 字典(2)==>字典方法:copy/deepcopy/clear/get/setdefault/items/iteritems/keys/iterkeys/values/itervalues/pop/popitem/update/has_key
- 集合(1)==>创建集合,集合方法:add/update,pop/remove/discard/clear,可哈希与不可哈希
- 集合(2)==>不可变集合,集合关系
- 运算符==>算数运算符,比较运算符,逻辑运算符/布尔类型
- 语句(1)==>print, import, 赋值语句、增量赋值
- 语句(2)==>if...elif...else语句,三元操作
- 语句(3)==>for循环,range(),循环字典
- 语句(4)==>并行迭代:zip(),enumerate(),list解析
- 语句(5)==>while循环,while...else,for...else
##第二部分:函数和类
##第三部分:模块
##第四部分:用Tornado做网站
##第五部分:科学计算
##附:网络文摘