The rules of reference

Jeff Epler jepler at unpythonic.net
Thu Oct 31 14:08:00 EST 2002


Gerson,
this has nothing to do with references.

The code in "a.py" is executed once when it's named on the commandline
(inside a module called '__main__') and then again when 'import a' is
executed (inside a module called 'a')

Jeff




More information about the Python-list mailing list