爲什麼這個正則表達式不工作? import re
i="<wx._controls.Button; proxy of <Swig Object of type 'wxButton *' at 0x2d040b0> >"
m = re.match("controls(.*)[;]", i)
if m:
print m.group(1)
它什麼都沒有返回。我試圖讓所有事情都處於中間
我找一個函數刪除一個StyledTextCtrl選擇(選擇無) txt.SetSelection(-1,-1) #Seems to select everything
txt.SetSelection(-1,0) # This will select the first letter
有誰知道如何可以做到這一點?我似乎無法找到它的API中