class Zen:
@innerself
def __init__(self, the, path, to, enlightenment):
your_innerself = f'is {the} {path} {to} {enlightenment}'
@innerself(readonly=True)
def chaos(self, dont, let, the, anger, and_chaos, control, you):
return f'{you} {control} your own {path} {to} {enlightenment}'
>>> zen = Zen('the', 'path', 'to', 'enlightenment')
>>> zen.your_innerself
'is the path to enlightenment'
>>> zen.chaos("don't", 'let', 'the', 'anger', 'and chaos', 'control', 'you')
'you control your own path to enlightenment'
>>> hasattr(zen, 'enlightenment')
True
>>> hasattr(zen, 'anger')
False
To install: pip install innerself