Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78232

Re: how to write a html to automatically display the dictionary?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: how to write a html to automatically display the dictionary?
Date Tue, 23 Sep 2014 17:34:53 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 13
Message-ID <lvsavt$h7m$1@reader1.panix.com> (permalink)
References <mailman.14262.1411481932.18130.python-list@python.org>
NNTP-Posting-Host panix2.panix.com
X-Trace reader1.panix.com 1411493693 17654 166.84.1.2 (23 Sep 2014 17:34:53 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Tue, 23 Sep 2014 17:34:53 +0000 (UTC)
User-Agent nn/6.7.3
Xref csiph.com comp.lang.python:78232

Show key headers only | View raw


In <mailman.14262.1411481932.18130.python-list@python.org> luofeiyu <elearn2014@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@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to write a html to automatically display  the dictionary? luofeiyu <elearn2014@gmail.com> - 2014-09-23 22:18 +0800
  Re: how to write a html to automatically display  the dictionary? Tobiah <toby@tobiah.org> - 2014-09-23 09:53 -0700
    Re: how to write a html to automatically display  the dictionary? Denis McMahon <denismfmcmahon@gmail.com> - 2014-09-23 20:20 +0000
  Re: how to write a html to automatically display the dictionary? John Gordon <gordon@panix.com> - 2014-09-23 17:34 +0000
    Re: how to write a html to automatically display the dictionary? Denis McMahon <denismfmcmahon@gmail.com> - 2014-09-23 20:53 +0000
      Re: how to write a html to automatically display the dictionary? Ned Batchelder <ned@nedbatchelder.com> - 2014-09-23 19:55 -0400

csiph-web