[Tutor] Is there any way I can use named tuples in Python 2.5?

Albert-Jan Roskam fomcl at yahoo.com
Thu Dec 2 18:52:23 CET 2010


Hi,

Is there any way I can use named tuples in Python 2.5? It's available since 2.6 
and I'm not sure if from "__future__" works. I can't try it here.
I cannot simply upgrade Python (alas!)

http://www.python.org/doc//current/library/collections.html#collections.namedtuple


 Cheers!!
Albert-Jan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public 
order, irrigation, roads, a fresh water system, and public health, what have the 
Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20101202/475fe822/attachment-0001.html>


More information about the Tutor mailing list