[Tutor] modules == class instances?
Erik Price
erikprice@mac.com
Tue, 2 Apr 2002 21:27:47 -0500
I have noticed something in the past day or so -- that the syntax for
referring to a module's namespace is identical to the syntax used for
referring to a class instance's methods -- you specify the name of the
module or the class instance, then a dot, and then you specify the name
of the function or property or method you wish to access.
When I import a module into a script, does the import process in fact
create an object instance to represent the module, or is this just a
coincidence?
Just curious.
Erik