Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 2.9 KB

File metadata and controls

51 lines (39 loc) · 2.9 KB

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》(第二版)

##预备动作

  1. 关于python的故事
  2. 从小工到专家
  3. 安装python的开发环境

##第一部分:基础知识

  1. 集成开发环境==>集成开发环境;python的IDE
  2. 数和四则运算==>整数和浮点数;变量;整数溢出问题;
  3. 除法==>整数、浮点数相除;from future import division;余数;四舍五入;
  4. 常用数学函数和运算优先级==>math模块,求绝对值,运算优先级
  5. 写一个简单程序==>程序和语句,注释
  6. 字符串(1)==>字符串定义,转义符,字符串拼接,str()与repr()区别
  7. 字符串(2)==>raw_input,print,内建函数,原始字符串,再做一个小程序
  8. 字符串(3)==>字符串和序列,索引,切片,基本操作
  9. 字符串(4)==>字符串格式化,常用的字符串方法
  10. 字符编码==>编码的基础知识,python中避免汉字乱码
  11. 列表(1)==>列表定义,索引和切片,列表反转,元素追加,基本操作
  12. 列表(2)==>列表append/extend/index/count方法,可迭代的和判断方法,列表原地修改
  13. 列表(3)==>列表pop/remove/reverse/sort方法
  14. 回顾列表和字符串==>比较列表和字符串的相同点和不同点
  15. 元组==>元组定义和基本操作,使用意义
  16. 字典(1)==>字典创建方法、基本操作(长度、读取值、删除值、判断键是否存在)
  17. 字典(2)==>字典方法:copy/deepcopy/clear/get/setdefault/items/iteritems/keys/iterkeys/values/itervalues/pop/popitem/update/has_key
  18. 集合(1)==>创建集合,集合方法:add/update,pop/remove/discard/clear,可哈希与不可哈希
  19. 集合(2)==>不可变集合,集合关系
  20. 运算符==>算数运算符,比较运算符,逻辑运算符/布尔类型
  21. 语句(1)==>print, import, 赋值语句、增量赋值
  22. 语句(2)==>if...elif...else语句,三元操作
  23. 语句(3)==>for循环,range(),循环字典
  24. 语句(4)==>并行迭代:zip(),enumerate(),list解析
  25. 语句(5)==>while循环,while...else,for...else

##第二部分:函数和类

##第三部分:模块

##第四部分:用Tornado做网站

##第五部分:科学计算

##附:网络文摘

  1. 如何成为python高手