ubergarm

sui generis, linux, python, devops, robotics, polyamory, data custodian

The Zen of Python

2015-12-13 code ubergarm

Just noticed The Zen of Python today and found it amusing. A quick “one liner” for the easter egg.

import this
''.join([this.d[ch] if ch in this.d.keys() else ch for ch in this.s])

But who knows, I’m not a BDFL nor even Dutch. ;)

comments powered by Disqus