peter2
10/2/2013 - 9:39 AM

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 fo

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