Skip to content

Commit d244318

Browse files
add 𝜋thon Easter egg in Python 3.14
Typing 𝜋thon (U+1D70B, a valid Unicode identifier) inside a Python 3.14 virtual environment launches Python.
1 parent f4a61f8 commit d244318

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,15 @@ This is a macro in CPython (Python's reference implementation) source code used
239239
#endif
240240
```
241241

242+
### 18. 𝜋thon[^𝜋thon]
243+
244+
```sh
245+
(venv) user@machine$ 𝜋thon
246+
Python 3.14.3 (main, Feb 4 2026, 00:00:00) [GCC 15.2.1 20260123 (Red Hat 15.2.1-7)] on linux
247+
Type "help", "copyright", "credits" or "license" for more information.
248+
>>>
249+
```
250+
242251
[^hello-world]: Easiest hello world program in a language without calling any function
243252
[^the-classic]: Each and every line is the philosophy of Python's design and is a supreme holy guide
244253
[^missing-zen]: Maybe just to show that there always should be a new line at the end of a file!
@@ -255,6 +264,7 @@ This is a macro in CPython (Python's reference implementation) source code used
255264
[^peg-parser]: See [this answer](https://stackoverflow.com/a/65487013/14362510)
256265
[^breakfast-of-champions]: [Frozen modules](https://github.com/python/cpython/blob/main/Python/frozen.c) used for testing and is a reference to Monty Python's [SPAM sketch](https://cs.stanford.edu/people/eroberts/cs181/projects/spam/sketch.HTML)
257266
[^unreachable-state]: `Py_UNREACHABLE()` is a macro in CPython's [Include/pymacro.h](https://github.com/python/cpython/blob/main/Include/pymacro.h#L243-L270) used to mark code paths that should never execute. The `RANDALL_WAS_HERE` build flag refers to Randall Munroe, the xkcd webcomic author. The error messages that should never be printed are a reference to this [xkcd comic](https://xkcd.com/2200).
267+
[^𝜋thon]: `𝜋` is a Unicode mathematical character (U+1D70B), valid as a Python identifier. Typing [𝜋thon](https://github.com/python/cpython/pull/125035) inside a Python 3.14 virtual environment launches Python
258268

259269
## Add more
260270

0 commit comments

Comments
 (0)