Did I find the right examples for you? yes no

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

src/c/h/chirp-1.2.2/chirp/compare/ccompare.py   chirp(Download)
    if method is None:
        print >> cout, "* Comparison method: None; aborting"
        print >> sys.stderr, "Please specify a comparison method. Options are %s" % ','.join(methods.names())
        return -1
    try:

src/c/h/chirp-1.2.2/chirp/gui/BatchCompare.py   chirp(Download)
        txt.SetFont(font)
        hbox.Add(txt, 0, wx.ALIGN_CENTER)
        self.method = wx.Choice(mainPanel, -1, choices=plugins.methods.names())
        hbox.Add(self.method, 1, wx.LEFT, 5)
        vbox.Add(hbox, 0, wx.EXPAND | wx.LEFT | wx.RIGHT | wx.TOP, 5)