RE: subscripting Python 3 dicts/getting the only value in a Python 3 dict

2016-01-12 Thread Emanuel Barry
> Hi all, > > Seemingly simple problem: > > There is a case in my code where I know a dictionary has only one item in it. > I want to get the value of that item, whatever the key is. > > In Python2 I'd write: > > >>> d = {"Wilf's Cafe": 1} > >>> d.values()[0] > 1 The equivalent in Python 3 is

RE: Python 3.4.4 Install

2016-01-11 Thread Emanuel Barry
> Date: Sat, 9 Jan 2016 14:25:40 -0800 > Subject: Python 3.4.4 Install > From: cjwilliam...@gmail.com > To: python-list@python.org > > The reponse is not understood. Which response? Obviously Python's, but response to what? More context would be useful. > *** Python 3.4.4rc1 (v3.4.4rc1:04f3f72589