The block will only be executed when the .py file is executed as a script. If the .py file is imported this part wouldnt be eecuted. Good for examples From http://stackoverflow.com/questions/419163/what-does-if-name-main-do
if __name__ == "__main__":