On 20 May 2011 12:09, Ganesh Kumar <bugcy...@gmail.com> wrote:

> Hi Gurus,
>
> I am new python programming.. I see many programs
> if __name__ == '__main__':
>  when I check __name__ always eq __main__.
> what purpose use these structure.. please guide me..
>
> -Ganesh


Here you go:

http://lmgtfy.com/?q=What+is+the+purpose+of+if+__name__+%3D+%27__main__%27

;)

Walter
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to