Type Casting...
Chris Barker
chrishbarker at home.net
Tue Sep 18 15:44:52 EDT 2001
Brian Quinlan wrote:
> 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.
yes, much better said.
-Chris
--
Christopher Barker,
Ph.D.
ChrisHBarker at home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------
More information about the Python-list
mailing list