摘要:
基础:1. 元组由简单对象组构成。2. 元组与列表类似,不过不能在原处修改(它们是不可变的),并且通常写成圆括号(),而不是方框号[]中的一系列项。==========================================================================>>... 阅读全文
摘要:
Python的正则表达式的模块名字是‘re'>>> import re>>> rawString = r'This is a\nnormal string.'>>> rawString'This is a\nnormal string.'>>> string = 'This is a\nnormal... 阅读全文