Python Newbie

Ethan Furman ethan at stoneleaf.us
Tue Feb 26 19:59:51 CET 2013


On 02/26/2013 10:23 AM, rurpy at yahoo.com wrote:
> On 02/26/2013 01:32 AM, Larry Hudson wrote:
>> Python variables do NOT have any data type.
>
> I have no problem interpreting the OP's statement
> as meaning that he wanted to use a Python variable to
> consistently reference a particular type and wanted a name
> that would remind him of that type.

Which is all well and good, so long as the OP also realizes that the name does not have any restriction's on it from 
Python's side, and certain functions will end up pointing the name at a different object with a possibly different type 
than his original, as in my int/float example.

--
~Ethan~



More information about the Python-list mailing list