[python-win32] module namedtuple no found on Python Win 2.5.4

Brian Curtin brian.curtin at gmail.com
Sun Jun 6 06:36:27 CEST 2010


On Thu, Jun 3, 2010 at 02:27, Mauricio Martinez Garcia
<morfeokmg at gmail.com>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi, i have an problem at import module collections:
> #===========================================================
> Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
> (Intel)] on
> win32
> Traceback (most recent call last):
>  File "C:\CONCILIACIONES\bin\conciliadorprepago.py", line 13, in <module>
>    from collections import namedtuple
> ImportError: cannot import name namedtuple
> #===========================================================
>
> i work on Python 2.5.4 and cx_Oracle.
>
> This is my code:
> #Seccion de librerias
> import sys
> import os
> - -->from collections import namedtuple
>
> I need work on this environment for council process.
>
> GREETINGS.
>

collections.namedtuple was added in 2.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100605/706c3e51/attachment.html>


More information about the python-win32 mailing list