Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>:

> The big difference is that in "fixed location" languages, it makes
> sense to talk about the address of a *variable*.

The address could be a symbol, too.

The Python statement

   xyz = 3

places a number in the address "xyz".

You can read the value from the address "xyz" with

   locals()["xyz"]


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to