编程-PYTHON SUMMARY

I. 所有语言的学习共通的部分

Like all the other programming language, python should also first support the following basic things:

  1. constants, variable, various type, and type conversion

    常量,变量,基本数据类型,类型之间的转换

  2. statements, with various operators, (arithmetic, relational, logical, also priority issues)

    语句,表达式,各种操作符(算术,关系,逻辑),以及优先级问题

  3. basic programming structure (sequential, selective, loop)

基本程序结构(顺序,选择,循环)

  1. grouped (advanced) data type: collection (string, tuple, set, list) and map(dict), along with their operations

    存储一堆数据的类型(高级数据类型), 序列(字符串,元祖,集合,列表),映射(字典),以及他们的基本操作(创建,索引,相关函数,高级应用)

  2. functions

    函数

  3. IO (input/print, file, directory operation)

    IO(简单的输入输出,文件操作,目录的操作)

  4. exception control

    异常处理


In addition to the above, there are some about oop


II. PYTHON BASIS

1 hello world

常量

 int,float(+-*/%//**)

 string, escapted character(+*)

 type conversion

输入输出

 input  print(format,%)

一维变量

  一切都是对象,变量名只是标签

  (spam egg/foo bar)

  in-place operator ( += -= *= /=)

2 程序结构

顺序

     use colon and indentation to delimit block of code

选择

  boolean 常量,变量

  comparison operator

  if else elif & embeded if statement

  boolean logic: and or not in is

  operprecedence: parentheses first, then exponentiation, then multiplication/division, and then addition/subtraction.

循环

   while break continue pass

   for range

异常处理

  try except else finally,raise

3 数据结构

4 函数

5 模块

6 同步io,

7 数据分析和可视化相关的第三方模块

8 Debugging and testing

9 正则表达式


###III. PYTHON ADVANCE

1 OOP basic和 advance

2 函数式编程,函数高级特性

3 链接数据库

4 进程和线程

5 图形界面,PYTHON GUI

tkinter,pyQT, pySlide,wxpython

6 网络编程

7 异步I/O

8 WEB开发

9 数据挖掘和机器学习

10 爬虫

IV. References

Table of Contents