how to write a html to automatically display the dictionary?

John Gordon gordon at panix.com
Tue Sep 23 19:34:53 CEST 2014


In <mailman.14262.1411481932.18130.python-list at python.org> luofeiyu <elearn2014 at gmail.com> writes:

> x={'f1':1,'f2':2,'f3':3}
> how can i create the following html file automatically with python to 
> display x ?

You might want to use something other than a dictionary, as the order
isn't guaranteed.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon at panix.com    watch 'House', or a real serial killer to watch 'Dexter'.




More information about the Python-list mailing list