Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/n/o/Nodes-1.2/gui.py   Nodes(Download)
        res=self.decider.get_result()
        if res>=0:
            obj=BPGR.objects.keys()[res]
        else:
            obj=UNKNOWN
            self.decider.teach(-1)
            secondial=wx.SingleChoiceDialog(self, _('Ok, how do you think, what is it?'),
                 _('What is it?'), map(_, BPGR.objects.keys()))
            if secondial.ShowModal()==wx.ID_OK:
                obj2=BPGR.objects.keys()[secondial.GetSelection()]
                if obj2!=obj:
                    path=os.path.join(picdir, obj2+'.png')
                    self.bitmap.SetBitmap(wx.Bitmap(path))
                    self.Update()
                    for x in BPGR.objects.keys():