You want to write a Python program with a bound method. What should you do?
This program uses a bound method. The method funtest() is bound to objects that are members of the class "widgetfactory". You cannot use the method without it being bound to this class. (If you uncomment out the last line, you'll see it is a bound method and not an unbound method; the program will fail if you uncomment out the last line.)
def funtest(self): # This is a public method.
print('This widget is working!')
goodwidget = widgetfactory()
#funtest() # This function (if uncommented out) will not work. It must be bound to an object of the class "widgetfactory".