Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?)

2015-09-09 Thread YBM
Le 09/09/2015 20:58, Gary Roach a écrit : On 09/09/2015 01:45 PM, John Gordon wrote: In Gary Roach writes: Traceback (most recent call last): File "/root/mystuff/mystuff/ex39_test.py", line 6, in hashmap.set(states, 'Oregon', 'OR') File "/root/mystuff/mystuff/hashmap.py", line

Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?)

2015-09-09 Thread Gary Roach
On 09/09/2015 01:45 PM, John Gordon wrote: In Gary Roach writes: Traceback (most recent call last): File "/root/mystuff/mystuff/ex39_test.py", line 6, in hashmap.set(states, 'Oregon', 'OR') File "/root/mystuff/mystuff/hashmap.py", line 50, in set i, k, v = get_slot(aMap,

Re: Lesson 39 of Learning Python the Hard Way hangs

2015-09-09 Thread Gary Roach
On 09/09/2015 01:45 PM, John Gordon wrote: In Gary Roach writes: Traceback (most recent call last): File "/root/mystuff/mystuff/ex39_test.py", line 6, in hashmap.set(states, 'Oregon', 'OR') File "/root/mystuff/mystuff/hashmap.py", line 50, in set i, k, v = get_slot(aMap,

Re: Lesson 39 of Learning Python the Hard Way hangs

2015-09-09 Thread Ben Finney
Gary Roach writes: > Python 2.7 (It's going to be a while before 2,7 goes away. There is > just too much code out there. The time since Python 2 got any improvements is long in the past, and it will never get any more. It is rapidly becoming the case that new libraries just don't support Python

Re: Lesson 39 of Learning Python the Hard Way hangs

2015-09-09 Thread Chris Angelico
On Thu, Sep 10, 2015 at 3:27 AM, Gary Roach wrote: > > Python 2.7 (It's going to be a while before 2,7 goes away. There is just too > much code out there. 2.7 isn't going to go away, but that doesn't mean you should learn on it. Unless you have a particular reason for learning 2.7, I would recomm

Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?)

2015-09-09 Thread Gary Roach
On 09/09/2015 01:45 PM, John Gordon wrote: In Gary Roach writes: Traceback (most recent call last): File "/root/mystuff/mystuff/ex39_test.py", line 6, in hashmap.set(states, 'Oregon', 'OR') File "/root/mystuff/mystuff/hashmap.py", line 50, in set i, k, v = get_slot(aMap,

Re: Lesson 39 of Learning Python the Hard Way hangs

2015-09-09 Thread Denis McMahon
On Wed, 09 Sep 2015 20:45:57 +, John Gordon wrote: > In any case, I saved your code and ran it, and did not get an error. +1 I think "Execution Succesful!" might be coming from his IDE? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Lesson 39 of Learning Python the Hard Way hangs

2015-09-09 Thread John Gordon
In Gary Roach writes: > Traceback (most recent call last): >File "/root/mystuff/mystuff/ex39_test.py", line 6, in > hashmap.set(states, 'Oregon', 'OR') >File "/root/mystuff/mystuff/hashmap.py", line 50, in set > i, k, v = get_slot(aMap, key) > TypeError: 'NoneType' object is

Lesson 39 of Learning Python the Hard Way hangs

2015-09-09 Thread Gary Roach
Hi all I am new to python but not programming (Although rusty) and am using Learning Python The Hard Way. I really like it. System: --- Debian 8 (jessie) KDE Desktop Python 2.7 (It's going to be a while before 2,7 goes away. There is just too much code out there. Ninja-IDE IDE