Is there any way to print the python dictionary in to a table in HTML. I have a python dictionary and am sending to HTML by using
return render_template(\'i
tbl_fmt = ''' {} ''' row_fmt = ''' {} {} ''' def dict_to_html_table(in_dict): return tbl_fmt.format(''.join([row_fmt.format(k,v) for k,v in in_dict.iteritems()]))