defining the program as a method

I hadn't found where to change the name in *.py