Curated list of all the hidden jokes, easter eggs and secrets in Python
import this
import __hello__
from __future__ import braces
File "<stdin>", line 1
SyntaxError: not a chance
>>> hash(float('inf'))
314159
>>> hash(float('nan'))
0
import antigravity
>>> from __future__ import barry_as_FLUFL
>>> 1 != 3
File "<stdin>", line 1
1 != 3
^
SyntaxError: with Barry as BDFL, use '<>' instead of '!='
>>> 1 <> 3
True
python -m "calendar" 2021 7
For options: python -m "calendar" --help