NameError: name '__main__' is not defined

Andre Engels andreengels at gmail.com
Mon Sep 14 03:01:43 EDT 2009


On Mon, Sep 14, 2009 at 4:29 AM, Sean DiZazzo <half.italian at gmail.com> wrote:

> Is this a production program that you are using??
>
> Please show us the point you are trying to make in something more
> valuable.

I find this a very bad comment. Not only is it rude, it is condemning
a behaviour I would see as beneficial. I very much prefer someone
creating a toy program that is as short and simple as possible while
still showing their problem than being forced through hundreds of
lines of code which contain very useful code which however has nothing
to do with the problem at hand.


-- 
André Engels, andreengels at gmail.com



More information about the Python-list mailing list