Python's Preprocessor

from blog Pydong, | ↗ original
Every now and then you hear outrageous claims such as “Python has no preprocessor”. This is simply not true. In fact, Python has the best preprocessor of all languages - it quite literally allows us to do whatever we want, and a lot more. It’s just a little tricky to (ab)use. Python source code encodings Thanks to PEP-0263 it is possible to...