Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
decorated for doc solution in Clear category for I Love Python! by Phil15
def declaration_of_love(func):
"""
My declaration of love to Python
"""
#import this
def doc():
"""
I love you Python!
Above all, you are so zen, I love your philosophies and your
READABILITY so much.
I love list/set/... comprehension, it's so short and clear,
I can speak Python.
I love generators so much: efficient, effortless and clear.
I love errors management.
After all, it's easier to ask for forgiveness than permission.
I like decorate you.
I like you to be open to other languages.
You have a really great community, I'm happy to be "part" of it.
And you have so much librairies for everything.
I just love you Python!!!
"""
return func()
return doc
i_love_python = declaration_of_love(lambda: ' '.join(['I','love','Python!']))
Sept. 27, 2018
Comments: