Python variables are bound to types when used?

Aahz aahz at
Thu Oct 20 02:12:49 CEST 2005

In article <pan.2005. at>,
Steven D'Aprano  <steve at> wrote:
>On Wed, 19 Oct 2005 20:06:53 +0000, Grant Edwards wrote:
>> Python doesn't have variables.
>> Python has objects of various types.  You can bind 0 or more
>> names an object.
>I frequently use "variable" as a synonym for "name" when talking about
>Python code. Do people think I am wrong to do so?

Wrong?  No.  Bad idea?  Possibly, depending on context.  I'm often using
"variable" in casual conversation -- it's hard to break the habit of
thirty years of programming!  But I try very hard to stick with "name"
when I'm doing formal instruction.
Aahz (aahz at           <*>

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair

More information about the Python-list mailing list