I'm using elementtree to create a form.

I would like to set the "selected" attribute.

Setting using the usual
 option.set( "selected" = "" )
gives me
  <option selected="" value="operations">Operations</option>
how does one make
  <option selected value="operations">Operations</option>
which is what I need.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to