On Thu, 01 Apr 2010 11:57:11 +, Harishankar wrote:
> On Wed, 31 Mar 2010 09:40:30 -0700, Javier Montoya wrote:
>
>> Dear all,
>>
>> I'm a newbie in python and would be acknowledge if somebody could shed
>> some light on associative arrays.
>> More precisely, I would like to create a multi-di
On Wed, 31 Mar 2010 09:40:30 -0700, Javier Montoya wrote:
> Dear all,
>
> I'm a newbie in python and would be acknowledge if somebody could shed
> some light on associative arrays.
> More precisely, I would like to create a multi-dimensional associative
> array. I have for example a list of stude
Javier Montoya wrote:
> Is it possible to sort the dictionary by the student's grades in
> descending order?
You cannot sort dictionaries, but you can put dictionary items into a list
and then sort that.
Assumming that you have a dictionary student_dict that maps student IDs to
Student instanc
On Thu, Apr 1, 2010 at 3:58 AM, Javier Montoya wrote:
> On Mar 31, 7:36 pm, Gary Herron wrote:
>> JavierMontoyawrote:
>> > Dear all,
>>
>> > I'm a newbie in python and would be acknowledge if somebody could shed
>> > some light on associative arrays.
>> > More precisely, I would like to create a
On Mar 31, 7:36 pm, Gary Herron wrote:
> JavierMontoyawrote:
> > Dear all,
>
> > I'm a newbie in python and would be acknowledge if somebody could shed
> > some light on associative arrays.
> > More precisely, I would like to create a multi-dimensional associative
> > array. I have for example a l
Javier Montoya wrote:
Dear all,
I'm a newbie in python and would be acknowledge if somebody could shed
some light on associative arrays.
More precisely, I would like to create a multi-dimensional associative
array. I have for example a list of students which are identified
uniquely by their stud
On Wed, Mar 31, 2010 at 10:10 PM, Javier Montoya wrote:
> Dear all,
>
> I'm a newbie in python and would be acknowledge if somebody could shed
> some light on associative arrays.
> More precisely, I would like to create a multi-dimensional associative
> array. I have for example a list of students