Type Casting...

Brian Quinlan BrianQ at ActiveState.com
Tue Sep 18 15:11:53 EDT 2001


Chris wrote:
> Typecasting as such doesn't really exist in Python, however there
are
> 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