dive into python 读笔(1)

chapter2 and 3:

  使用Python IDE来交互式地测试表达式

  编写Python程序并且从IDE运行,或者从命令行运行

  导入模块及调用它们的函数

  声明函数以及doc string、局部变量和适当的缩进的使用

  定义dictionary、tuple和list

  任意一个对象的访问方法,包括:字符串、list、dictionary、函数和模块

  通过字符串格式化连接值

  使用list解析映射list为其他的list

  把字符串分割为list和把list连接为字符串

原文地址:https://www.cnblogs.com/nuaalida/p/4296047.html