if you are referring to the line<div><b><br></b></div><div><b><meta http-equiv="content-type" content="text/html; charset=utf-8">if __name__ == '__main__':</b><div><b><br></b></div><div>Find a good explanation here</div>
<div><b><br></b></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://stackoverflow.com/questions/419163/what-does-if-name-main-do">http://stackoverflow.com/questions/419163/what-does-if-name-main-do</a><br>
<div><br></div><div><br><br><div class="gmail_quote">On Wed, May 2, 2012 at 2:30 PM, viral shah <span dir="ltr"><<a href="mailto:shahviral.it@gmail.com" target="_blank">shahviral.it@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br><br>in every .py file I found this same code line on the below side<br><br><b>def main():<br>    application = webapp.WSGIApplication([('/', MainHandler)],<br>                                         debug=True)<br>

    run_wsgi_app(application)<br><br><br>if __name__ == '__main__':<br>    main()<br></b><br>can anyone explain me what's the all this thing suggest?<br clear="all"><br><br><br><br>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><font style="color:rgb(0,51,0)" size="1"><b>Mob UG: +256 (0) 70 1735800 | NL +31 (0) 6 852 841 38 | Gtalk: jmwebaze |  skype: mwebazej | URL: <a href="http://www.astro.rug.nl/~jmwebaze" target="_blank">www.astro.rug.nl/~jmwebaze</a><br>
<br>/* Life runs on code */</b></font><br><br>
</div></div></div>