[問題] python找html值消失
各位大大大家好,我現在剛學python想用他來抓網頁裡面一個值並顯示出來
\/1234\/2\/93","
這是其中找值的部分
foundAbc= re.search('2\\\(?P<abc>.+?)"', respHtml);
print "foundAbc=",foundAbc;
if(foundAbc):
abc=foundAbc.group("abc");
print "abc=",abc;
我只想要顯示93
但是他卻顯示
\/1234\/2\/93
請問這樣我要怎麼改呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 101.8.211.146
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1467608265.A.4F7.html
推
07/04 13:28, , 1F
07/04 13:28, 1F
推
07/04 13:32, , 2F
07/04 13:32, 2F
→
07/04 15:42, , 3F
07/04 15:42, 3F