Python as first language (Re: static variables?)
Dennis Lee Bieber
wlfraed at ix.netcom.com
Wed Nov 20 20:46:49 EST 2002
Brian Quinlan fed this fish to the penguins on Wednesday 20 November
2002 03:12 pm:
> you are, conceptually, saying: 5 is in a mailbox somewhere, make "a"
> know the address of that mailbox. I wouldn't use the mailbox analogy
> with Python though.
>
My normal description for Python run:
a = 5
Find the post-it note that has the name "a", if it doesn't exist,
create a new post-it and write "a" on it. Take this post-it note, and
find the box containing "5"... Stick the post-it note on that box
(without removing any other post-it notes already on the box).
--
> ============================================================== <
> wlfraed at ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
> wulfraed at dm.net | Bestiaria Support Staff <
> ============================================================== <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <
More information about the Python-list
mailing list