Python2教程python文本 字符串开头或者结尾匹配 python文本 字符串开头或者结尾匹配 场景: 字符串开头或者结尾匹配,一般是使用在匹配文件类型或者url 一般使用startwith或者endwith >>> a='http://www.w3cschool.c... AI君 4周前 (02-26) 10℃ 0喜欢