DIV(**{'_data-rol':'controlgroup', '_data-typ':'horizontal'})
On Aug 17, 5:29 am, Bruno Rocha <rochacbr...@gmail.com> wrote: > I need to create this: > > <div data-role="controlgroup" data-type="horizontal"> > > using helpers this should be: > > DIV(_data-role='controlgroup', _data-type='horizontal') > > but the code above raises a Python error: > > SyntaxError: keyword can't be an expression > > what shoud I use in the place of dashes? > > thanks.