Type Casting...

Brian Quinlan BrianQ at ActiveState.com
Tue Sep 18 21:11:53 CEST 2001

Chris wrote:
> Typecasting as such doesn't really exist in Python, however there
> various functions that will change one type to another (int(),
> float(),long(), tuple(), etc.).

I think that you mangled your own point in there somewhere :-) I think
the key is that these functions create new objects of a different
type, not that they change one type to another.

More information about the Python-list mailing list