[Python] python 3 - domande vaie

Giovanni Vittorio Spina vittorio.spina a gmail.com
Mer 26 Dic 2012 12:06:28 CET


In python i dizionari non hanno ordinamento... Tutto lí
Fosse stata una lista, invece, ce l'avrebbe avuto.

Giovanni Vittorio Spina
R&D dept. Manager
  -  
EERobotics, Engineering Electronics and Robotics s.r.l.
( a Team Italia group company )
via della Giustizia 10, 60132 Fano (PU)
p.ta iva e cod. fisc. 03238690410

Web: http://www.eerobotics.it
General mail: info a eerobotics.it
Office: +39 (0) 586 42 64 89
Fax: +39 (0) 586 44 59 91
Mobile: +39 380 15 10 409

... from iPad

The information contained in this e-mail, and any  files transmitted with it, is confidential and may be legally privileged. It is intended solely for the adresses. If you are not in the intended recipient, please return the message by replying to it and then delete the message from your computer. Any disclosure copying, distribution, or action taken in reliance on its contents is prohibited and may be unlawful.

Il giorno 26/dic/2012, alle ore 10:34, Sandro Tosi <sandro.tosi a gmail.com> ha scritto:

> 2012/12/26 Valerio Pachera <sirio81 a gmail.com>:
>> d = {'uno':1, 'due':2, 'tre':3, 'quattro':4}
>> 
>> for key in d.keys():
>>        print (key)
>> 
>> quattro
>> tre
>> due
>> uno
>> ---
>> 
>> Stampa le chiavi dell'array dall'ultima alla prima.
> 
> http://docs.python.org/3/library/stdtypes.html#dict-views nella parte
> relativa a 'iter(dictview)'.
> 
> Ciao,
> --
> Sandro Tosi (aka morph, morpheus, matrixhasu)
> My website: http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
> _______________________________________________
> Python mailing list
> Python a lists.python.it
> http://lists.python.it/mailman/listinfo/python


Maggiori informazioni sulla lista Python