Python

From Esolang
Jump to navigation Jump to search
This article deals with Python as it relates to esoteric programming. For more general information, see the Wikipedia article on Python.

Python, while not always a serious language, is far from an esoteric one. It is a general purpose programming language emphasising readability, and has found a number of uses from statistical analysis, to writing automation scripts, to implementing esoteric language interpreters. Its key traits are the aforementioned legible code, semantic indentation, and a variety of libraries created for it.

It spawned partially formed from the mind of Guido van Rossum in the 1980s. It is fully bootstrapped and a common gateway language for learners who are new to programming, in part because it is high-level enough to resemble English, and in part because it minimises the boilerplate code one needs to memorise.

While languages like Forth and Lisp have been influential to esolangs predominantly because the languages are inspired by how the languages work, Python is more in the Perl category of practical languages, which are often used to implement an esolang. Esolangs based on images like StegFuck is usually implemented in Python, because there are lots of packages for image processing (e.g. the Python Imaging Library and OpenCV) for this language. Esolangs that need arbitrary integer size are also usually implemented in Python.