Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96238
| Date | 2015-09-09 14:53 -0700 |
|---|---|
| From | Gary Roach <garyroach@verizon.net> |
| Subject | Re: Lesson 39 of Learning Python the Hard Way hangs |
| References | <mailman.280.1441823265.8327.python-list@python.org> <msq5q5$jg3$1@reader1.panix.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.304.1441861224.8327.python-list@python.org> (permalink) |
On 09/09/2015 01:45 PM, John Gordon wrote: > In <mailman.280.1441823265.8327.python-list@python.org> Gary Roach <gary719_list1@verizon.net> writes: > >> Traceback (most recent call last): >> File "/root/mystuff/mystuff/ex39_test.py", line 6, in <module> >> 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 not iterable >> Execution Successful! > Where does the message "Execution Successful!" come from? It seems like > you have other code that you haven't shown us. > > In any case, I saved your code and ran it, and did not get an error. > No other code. Ninja-IDE tacked the "Execution Successful" at the end if the error message. Dont know why. Interesting that you ran the code successfully. I have tried to run the code in both Ninja and at the command line and got the exact same error message. A note: If you could, please post your replies to the list. If you don't, it either breaks the thread or ends up sending a copy to my personal email address. I am assuming that your email client gives you that choice. If not, I'm not sure how you would assure that the proper way happens. I use the icedove (thunderbird) mail client and the choice is a drop down list at the top of the mail editor page. Thanks for your reply. Still confused Gary R.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Lesson 39 of Learning Python the Hard Way hangs Gary Roach <gary719_list1@verizon.net> - 2015-09-09 10:27 -0700
Re: Lesson 39 of Learning Python the Hard Way hangs John Gordon <gordon@panix.com> - 2015-09-09 20:45 +0000
Re: Lesson 39 of Learning Python the Hard Way hangs Denis McMahon <denismfmcmahon@gmail.com> - 2015-09-09 21:36 +0000
Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?) Gary Roach <gary719_list1@verizon.net> - 2015-09-09 16:58 -0700
Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?) Gary Roach <garyroach@verizon.net> - 2015-09-09 16:58 -0700
Re: Lesson 39 of Learning Python the Hard Way hangs (Fixed?) YBM <ybmess@nooos.fr.invalid> - 2015-09-10 03:42 -0300
Re: Lesson 39 of Learning Python the Hard Way hangs Gary Roach <garyroach@verizon.net> - 2015-09-09 14:53 -0700
csiph-web