python 正则表达式提取返回内容
import re
re.findall(' <input name="address_id" type="hidden" value="(.*?)" />',neww.content.decode("utf-8")) #返回的是一个列表,使用re.match匹配不到内容;re.findall是匹配所有
越努力,越幸运!!!
good good study,day day up!!!
import re
re.findall(' <input name="address_id" type="hidden" value="(.*?)" />',neww.content.decode("utf-8")) #返回的是一个列表,使用re.match匹配不到内容;re.findall是匹配所有