Should I use a main() method in a simple Python script?
<p>I have a lot of simple scripts that calculate some stuff or so. They consist of just a single module.</p>

<p>Should I write main methods for them and call them with the <code>if __name__</code> construct, or just dump it all right in there?</p>

<p>What are the advantages of either method?</p>
