官网文档:http://www.wxpython.org/docs/api/wx.CheckListBox-class.html
主要用到一个GetChecked(self)
Return a tuple of integers corresponding to the checked items in the control, based on IsChecked.
            
#获取选择的列表,返回一个元组
	    select_list = self.clb.GetChecked()
	    for i in range(len(select_list)):
		#print select_list[i],'...'
		del_url = TIEBA_URL + self.URLList[select_list[i]]
		#print self.sampleList[select_list[i]]
            
              
              
              
              上一篇: django 前端代码的自定义
              
              
              下一篇: 用python写了一个百度贴吧的删帖器
              
            
0 Responses so far.