一. 通用序列操作: 其实对于列表,元组 都属于序列化数据,可以通过下表来访问的.下面就来看看序列的基本操作吧. 1.1 索引: 序列中的所有元素的下标是从0开始递增的. 如果索引的长度的是N,那么所以的范围是-N~N-1之间,超过这个范围就会提示 IndexError: index out of range >>> greeting ='Hello world' >>> print greeting Hello world >>> print gr…
<Core Python Programming>勘误参考表 http://starship.python.net/crew/wesc/cpp/errata2.htm 笨办法学 Python (Learn Python The Hard Way) http://old.sebug.net/paper/books/LearnPythonTheHardWay/ Learn Python The Hard Way http://learnpythonthehardway.org/book/ Pyth…