Checking var is a number?

Fredrik Lundh fredrik at pythonware.com
Tue Jun 6 06:13:47 EDT 2006


dav.phillips at ntlworld.com wrote:

> I took a variable to mean a container for diffirent kinds of
> information either strings or integers etc, as i am mainly a
 > asp, php, asp.net developer.

in python, a variable is a name that refers to a specific object.  it's 
the object that has a type and a value, not the variable.  this article 
might be somewhat helpful:

     http://effbot.org/zone/python-objects.htm

</F>




More information about the Python-list mailing list