Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-29 Thread Rustom Mody
On Friday, August 28, 2015 at 11:56:53 AM UTC+5:30, Steven D'Aprano wrote: > Completely off-topic. Stop reading now if you only want to read things about > Python. > > > On Fri, 28 Aug 2015 09:46 am, Ben Finney wrote: > > > \        “Of course, everybody says they're for peace. Hitler was for |

Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought

2015-08-29 Thread Ben Finney
kbtyo writes: > I am using Jupyter Notebook and Python 3.4. Thank you for saying so! It is not always required, but when it matters, this information is important to state up front. > I have a data structure in the format, (type list): > > [{'AccountNumber': N, > 'Amount': '0', > 'Answer': '12

Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought

2015-08-29 Thread MRAB
On 2015-08-30 03:05, kbtyo wrote: I am using Jupyter Notebook and Python 3.4. I have a data structure in the format, (type list): [{'AccountNumber': N, 'Amount': '0', 'Answer': '12:00:00 PM', 'ID': None, 'Type': 'WriteLetters', 'Amount': '10', {'AccountNumber': Y, 'Amount':

Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought

2015-08-29 Thread Mark Lawrence
On 30/08/2015 03:05, kbtyo wrote: I am using Jupyter Notebook and Python 3.4. I have a data structure in the format, (type list): [{'AccountNumber': N, 'Amount': '0', 'Answer': '12:00:00 PM', 'ID': None, 'Type': 'WriteLetters', 'Amount': '10', {'AccountNumber': Y, 'Amount':

TypeError: unhashable type: 'dict' when attempting to hash list - advice sought

2015-08-29 Thread kbtyo
I am using Jupyter Notebook and Python 3.4. I have a data structure in the format, (type list): [{'AccountNumber': N, 'Amount': '0', 'Answer': '12:00:00 PM', 'ID': None, 'Type': 'WriteLetters', 'Amount': '10', {'AccountNumber': Y, 'Amount': '0', 'Answer': ' 12:00:00 PM',

Re: Connecting Terminal to Python 3.5

2015-08-29 Thread Cameron Simpson
On 28Aug2015 23:52, Sam Miller wrote: I tried to update Python in terminal on my Mac book pro to v3.5 using this website: https://wolfpaulus.com/journal/mac/installing_python_osx/ Let me start by saying that this page is a bad idea. If you really know what you're doing I suppose it provides

RE: How to reassign the value of the variable on runtime?

2015-08-29 Thread Ivan Evstegneev
-Original Message- From: Python-list [mailto:python-list-bounces+webmailgroups=gmail@python.org] On Behalf Of Chris Angelico Sent: Saturday, August 29, 2015 19:02 Cc: python-list@python.org Subject: Re: How to reassign the value of the variable on runtime? On Sun, Aug 30, 2015 at 1:4