>>105740574 (OP)The brackets are ugly.
```
class PoetryWriter(object):
def __init__(self):
self.all_words = []
def __getattr__(self, item):
if '_' in item:
item = item.replace('_', '')
self.all_words.append(item)
return self
def __enter__(self):
return self
def __exit__(self, exc_type, exc_val, exc_tb):
print(' '.join(self.all_words))
poetry_writer = PoetryWriter()
with poetry_writer as _:
_.in_.the.garden.of.error.you.prune.the.right.flowers.yet.plant.the.wrong.seeds._. \
In.the.ballet.of.folly.you.pirouette.with_.grace.but.always.step.on.your.partners.toes
```
in the garden of error you prune the right flowers yet plant the wrong seeds In the ballet of folly you pirouette with grace but always step on your partners toes