[Edu-sig] Sticky-note Analogy
kirby urner
kirby.urner at gmail.com
Wed May 14 03:01:10 CEST 2008
On Tue, May 13, 2008 at 5:49 PM, kirby urner <kirby.urner at gmail.com> wrote:
> Names are little more than Unicode string literals with top-level
> significance, each paired with an object in a dictionary (the
> namespace).
>
Postscript to the above remark:
I finally got around to using some Chinese characters as
actual Python names, vs. simply as string literals, as in
from testuni import [chinese ideogram] # import a class
Here's a screen shot:
http://mybizmo.blogspot.com/2008/05/chinese-names-in-python.html
> So in C, intelligence about type remains with the variables
> (we might say), whereas in Python it remains with the objects,
> which are quite introspective.
>
> Kirby
>
More information about the Edu-sig
mailing list