greeter.greet()


class FrenchGreetingProvider(object):

    def get_greeting(self, who):
        return 'Bonjour %s!' % who
greeter = ConsoleGreeter(who='World', provider=FrenchGreetingProvider)
greeter.greet()
How does Spring for Python compare with Spring for Java