"jim stockford" <[EMAIL PROTECTED]> wrote
> If I write a little .py file, its name is __main__
>
> assuming no big nit-picks in the claim above,
> is __main__ a class?
No, its the name of your module when its run as a script
rather than imported. Its assigned by the interpreter.
(At least i ass
jim stockford wrote:
> I've gotten red-eyed looking through google pages
> to find answers. I've read the python.org docs and
> tutorials entirely (some parts very quickly).
>
> If I write a little .py file, its name is __main__
>
> assuming no big nit-picks in the claim above,
> is __main__ a cl
I've gotten red-eyed looking through google pages
to find answers. I've read the python.org docs and
tutorials entirely (some parts very quickly).
If I write a little .py file, its name is __main__
assuming no big nit-picks in the claim above,
is __main__ a class?
What exactly does it mean "mod