title: What is the benefit of using main method in Python?
body: <p>I have been learning Python and as a person with Java and C# background I can understand why we need to use main method in those languages but I don't quite get it for Python. I can easily get what I want without writing a class or if I want to import or write module, it doesn't have to have any class defined within at all. </p>
  
  <p>As an entry point a simple myFunction() call would be sufficient as the first statement and I can define this method in the following lines and I can have that method do the initialization and so on.</p>
  
  <p>About the statements above, please correct me if I am wrong but if I have all these easy things what would I need to have use main method after all?</p>