ホーム 暮らし Python: 🐍 𝜋thon !? 🤣 Ver. 3.14

Python: 🐍 𝜋thon !? 🤣 Ver. 3.14

東條 淳平 東條 淳平 • 更新: • 公開: • 読了約 5 分
目次

It's a bit late to say this (lol)
So they were aiming for this after all!

$ ./venv/bin/
𝜋thon pip pip3 pip3.14 python python3 python3.14

𝜋thon

n152092f9e5a6

There's some kind of command! lol

Execute
$ ./venv/bin/𝜋thon
Python 3.14.2 (main, Dec 6 2025, 08:54:59) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Ctrl click to launch VS Code Native REPL
>>>

If you want to make it executable only in Python 3.14, you could use a command with this name...

Or so I thought, but while it's in venv, I wonder if it's not in the default path.

$ which 𝜋thon
(結果なし)
$ /usr/bin/env 𝜋thon
/usr/bin/env: `𝜋thon': そのようなファイルやディレクトリはありません
It was a symbolic link.
$ ls -l ./venv/bin/𝜋thon
lrwxrwxrwx 1 D. D. 10 1月 27 12:22 ./venv/bin/𝜋thon -> python3.14
Activate
source ./venv/bin/activate

And,

So, after setting it to the venv environment,

$ 𝜋thon
Python 3.14.2 (main, Dec 6 2025, 08:54:59) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Ctrl click to launch VS Code Native REPL
>>>

And, you can use it.

If you want to make it a Python script that can only be executed in a Python 3.14 venv environment,

#!/usr/bin/env 𝜋thon
print("Hello! 𝜋thon 3.14")

by doing this, if it's not a venv environment and not Python 3.14,
you can write it as a 𝜋thon-only script that won't run!

What kind of demand is there for this? Well... you know! ✍️

By the way, (LaTeX)  π(\LaTeX)\;\pi is not the (full-width) π,
so be careful, it's the Unicode: 𝜋 (U+1D70B) one!
兀 is not it either

https://graphemica.com/%F0%9D%9C%8B


2026/01/27 13:08

D.

#Python #𝜋thon #EasterEgg


Appendix


Character Code

The Unicode code point for '𝜋' is: U+1D70B

Hello,world

pithon.py

#!/usr/bin/env 𝜋thon
print("Hello! 𝜋thon 3.14")
𝜋 の文字コード
unicode_pi = ord("𝜋")
print(f"The Unicode code point for '𝜋' is: U+unicode_pi:X")


同じカテゴリの記事

東條 淳平

スポーツと芸能が交差する話題を担当。大会公式記録と所属先の発表を突き合わせ、数字は必ず出典付きで扱います。

おすすめの関連記事