Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60105
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <thudfoo@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.095 |
| X-Spam-Evidence | '*H*': 0.86; '*S*': 0.05; 'label,': 0.09; 'subject:parsing': 0.09; 'python': 0.11; '0.6': 0.16; '2.7.2': 0.16; 'subject:XML': 0.16; 'subject:item': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'wednesday': 0.24; 'header:In-Reply-To:1': 0.27; "skip:' 10": 0.31; 'larry': 0.31; 'received:google.com': 0.35; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'content-disposition:inline': 0.62; 'header:Message-Id:1': 0.63; 'more': 0.64; 'humidity': 0.84; 'temperature': 0.84; 'wilson': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; bh=Fxpa5sc42kwhk4mCzov7aVkH2CJ0g6H5C5k2/o756No=; b=GAayGh3G7tgEw+8+JYBWV7dcTG74cs/zyDBmVUzyt0KIyxpSkJXRJtAhBTwwW7hFlE Iwa7OAHlt8iL8BsMwPJh2TEsSNJa/5fEhCRO2ZanLdh1Nb7PyCPwItL7TNAaOVKb+0yS ZNDWZTe2x2XosbGot9s1d+Zmr1TSKs9RYW8sV39ZUx+uDKYWdD0J1bkIjBHphSqprmGd w6O9WEhUMoj3qwrWSl5QbL3makjTlvlIjizVFjjnG7j8G4DKztaLeuedmtQ2eAH1e+Wd PjvmueA3BS8gzmLUe5ltmUNfTg/iI+Bk5AwQRY+QLzLvE7sK+ICGzQHVKmIPYTytEbem TJSA== |
| X-Received | by 10.68.138.199 with SMTP id qs7mr1397520pbb.199.1384964265552; Wed, 20 Nov 2013 08:17:45 -0800 (PST) |
| From | xDog Walker <thudfoo@gmail.com> |
| To | python-list@python.org |
| Subject | Re: parsing RSS XML feed for item value |
| Date | Wed, 20 Nov 2013 08:17:31 -0800 |
| User-Agent | KMail/1.9.5 |
| References | <bcd7481a-45c2-4dbb-a9e3-c5faa80ac899@googlegroups.com> <e3614644-c3fe-46e6-b5f1-7f285f1e81b1@googlegroups.com> |
| In-Reply-To | <e3614644-c3fe-46e6-b5f1-7f285f1e81b1@googlegroups.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="iso-8859-1" |
| Content-Transfer-Encoding | 7bit |
| Content-Disposition | inline |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2972.1384964274.18130.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1384964275 news.xs4all.nl 15922 [2001:888:2000:d::a6]:44783 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60105 |
Show key headers only | View raw
On Wednesday 2013 November 20 05:44, Larry Wilson wrote:
> {'temperature': u'20.3', 'dewpoint': u'18.6', 'windgusts': u'29.6', 'rain':
> u'0.6', 'humidity': u'90', 'pressure': u'0.0', 'windspeed': u'22.2',
> 'winddirection': u'SSW'}
Python 2.7.2 (default, Oct 10 2011, 10:47:36)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> w_current = {'temperature': u'20.3', 'dewpoint': u'18.6', 'windgusts':
u'29.6', 'rain': u'0.6', 'humidity': u'90', 'pressure': u'0.0', 'windspeed':
u'22.2', 'winddirection': u'SSW'}
>>> for label, value in w_current.iteritems():
... print label, value
...
pressure 0.0
windspeed 22.2
temperature 20.3
dewpoint 18.6
windgusts 29.6
winddirection SSW
rain 0.6
humidity 90
>>>
--
Yonder nor sorghum stenches shut ladle gulls stopper torque wet
strainers.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
parsing RSS XML feed for item value Larry Wilson <itdlw1@gmail.com> - 2013-11-19 19:39 -0800
Re: parsing RSS XML feed for item value xDog Walker <thudfoo@gmail.com> - 2013-11-19 20:06 -0800
Re: parsing RSS XML feed for item value Larry Wilson <itdlw1@gmail.com> - 2013-11-20 05:44 -0800
Fwd: parsing RSS XML feed for item value Neil Cerutti <mr.cerutti@gmail.com> - 2013-11-20 09:48 -0500
Re: parsing RSS XML feed for item value xDog Walker <thudfoo@gmail.com> - 2013-11-20 08:17 -0800
Re: parsing RSS XML feed for item value xDog Walker <thudfoo@gmail.com> - 2013-11-20 08:31 -0800
Re: parsing RSS XML feed for item value Larry Wilson <itdlw1@gmail.com> - 2013-11-20 15:44 -0800
csiph-web