How to get the value of grc item in py main loop

I use grc to generate a py file with some grc items,like ratiobuttom in
of band_chooser.
Now I am modify the py file with my own logic in main loop,so how can I
the choice value of band_chooser for some advanced judge?