Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread Dave Angel
On 03/06/2015 01:27 PM, Markos wrote: Hi, I'm beginning to study the numpy. And what does this have to do with the """Strengths & weaknesses of Python lists compared to "old school" arrays [Was "Fixed Vector Array"]""" thread? Please don't hijack a thread by replying with an unrelated

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread Mark Lawrence
On 07/03/2015 00:42, WolfRage wrote: Well on the python interpretor did you use python3 or just python? Please don't top post on this list. It makes following long threads difficult if not impossible, and is basically downright irritating. Thanks for listening. -- My fellow Pythonistas, a

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread boB Stepp
On Fri, Mar 6, 2015 at 12:27 PM, Markos wrote: > Hi, > > I'm beginning to study the numpy. > > When I open a terminal (Debian Squeeze) and run the python interpreter the > command "import numpy as np" run without errors. > > But when I run the same command on idle3 the following error appears. > >

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread WolfRage
Well on the python interpretor did you use python3 or just python? On 03/06/2015 01:27 PM, Markos wrote: Hi, I'm beginning to study the numpy. When I open a terminal (Debian Squeeze) and run the python interpreter the command "import numpy as np" run without errors. But when I run the same co

[Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread Markos
Hi, I'm beginning to study the numpy. When I open a terminal (Debian Squeeze) and run the python interpreter the command "import numpy as np" run without errors. But when I run the same command on idle3 the following error appears. >>> import numpy as np Traceback (most recent call last):

Re: [Tutor] append value to dictionary key

2015-03-06 Thread Timo
Op 06-03-15 om 15:28 schreef Chris Stinemetz: I would like to append a value to a dictionary key where there is already a value. Something like the below: d = {'name': {'2': 0.0, '7': 10.0, '8': 0.0, '9': 0.0}} append 10 to d['name']['2'] d = {'name': {'2': 0.0,10, '7': 10.0, '8': 0.0, '9': 0.0}

Re: [Tutor] append value to dictionary key

2015-03-06 Thread Alan Gauld
On 06/03/15 14:28, Chris Stinemetz wrote: I would like to append a value to a dictionary key where there is already a value. Something like the below: d = {'name': {'2': 0.0, '7': 10.0, '8': 0.0, '9': 0.0}} append 10 to d['name']['2'] d = {'name': {'2': 0.0,10, '7': 10.0, '8': 0.0, '9': 0.0}} W

[Tutor] append value to dictionary key

2015-03-06 Thread Chris Stinemetz
I would like to append a value to a dictionary key where there is already a value. Something like the below: d = {'name': {'2': 0.0, '7': 10.0, '8': 0.0, '9': 0.0}} append 10 to d['name']['2'] d = {'name': {'2': 0.0,10, '7': 10.0, '8': 0.0, '9': 0.0}} When I try to this I get the following error: