第 4 章 数据类型
目录 4.1. type 数据类型检测 4.2. String 4.2.1. String function 4.2.1.1. str.find() 4.2.1.2. str.find() 4.2.2. Convert str to bytes in python 4.2.3. String format 4.3. Array 4.3.1. split / join 4.4. Datetime 4.4.1. datetime 4.5. bytes 类型 4.5.1. BOM头 4.5.2. replace 4.5.3. pack/unpack 4.1.type 数据类型检测 http://docs.python.org/library/types.html >>> type( [] ) == list True >>> type( {} ) == dict True >>> type( "" ) == str True >>> type( 0 ) == int True >>> class Tes...