class SimpleProgram:

  def __init__(self):
   self.printHelloWorld()

  def printHelloWorld(self):
     print ("HelloWorld\n")



if __name__ == "__main__" :
     run = SimpleProgram()

     print("Program will execute")

else:
     print("This class was imported and won't execute")
