please help me to reduce the number of for's
http://pastebin.com/raw/ehnQ2Tzd
>>59566751
While x != rand():
>>59566751for i in range(10):
for threads in data:
thread = "%s" % threads['threads'][i]['no']
replies = "%s" % threads['threads'][i]['replies']
comentario = "%s" % threads['threads'][i]['com']
comentario2 = BeautifulSoup(comentario).text
self.list_ctrl.InsertStringItem(self.index, thread)
self.list_ctrl.SetStringItem(self.index, 1, replies)
self.list_ctrl.SetStringItem(self.index, 2, comentario2.replace(">", ">"))
self.index += 1
>>59566873
>55chan
no
>>59566873
>12-space indentations