list to tuple and vice versa

Jabba Laci jabba.laci at gmail.com
Sun Oct 18 05:36:48 CEST 2009


>> The error message is: "TypeError: 'tuple' object is not callable".
>
> You created a variable named "tuple" somewhere, which is shadowing the
> built-in type. Rename that variable to something else.

Right, it was my bad. After removal the tuple() function works perfectly.

Thanks,

Laszlo



More information about the Python-list mailing list