个人在python中的见解
凡尘俗世
这个作者很懒,什么都没留下…
展开
-
错误:File "C:\Anaconda3\lib\sre_compile.py", line 764, in compile
在python中出现错误为C:\Anaconda3\python.exe G:/Python/YinZhongKai/two.py Traceback (most recent call last): File “G:/Python/YinZhongKai/two.py”, line 48, in about = re.sub(pattern,string1,string) #pytho...原创 2019-07-15 15:22:23 · 1486 阅读 · 0 评论 -
python基础知识1,自我练习,自我理解
#正则表达 import re pattern=r’123[0-9]\w+’ #正则表达式模式字符 string=“123425456 123d588545” #match的正则验证方法 match=re.match(pattern,string) print(match) print(match.start()) print(match.end()) print(match.span()) ...原创 2019-07-19 16:23:15 · 555 阅读 · 0 评论