%! ## TODO - will this import multiple times? the <%! tag is supposed to be special for module-level imports so hopefully not. import random %> <%page args="module"/> <%def name="makeRadio(valueDict)"> ${valueDict["text"]} %def>