list to tuple and vice versa

Jabba Laci jabba.laci at gmail.com
Sat Oct 17 23:36:48 EDT 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