10 ms·
Here are pictures that explain the difference between variables as named boxes and names in Python https://david.goodger.org/projects/pycon/2007/idiomatic/hando
by d0mine 8y ago
Here are pictures that explain the difference between variables as named boxes and names in Python https://david.goodger.org/projects/pycon/2007/idiomatic/handout.html#other-languages-have-variables https://david.goodger.org/projects/pycon/2007/idiomatic/hand...
- tom_mellior 8y agoThat's a nice explanation for BASIC programmers, but for anyone who has ever programmed in some other programming language than BASIC, it should not come as a surprise that named boxes can store pointer values. As they do in Python. They literally store C pointers of type (PyObject *).
- d0mine 8y agoPython is not C. There are no pointers in Python. I have no idea why would you mention BASIC here.