YK
yk.ytk.io
YK
@yk.ytk.io
Jack of many hobbies, master of some...from anime, manga, novel to game, photography, food, travel, technology, and many others....
Found out today Cloudflare have an Error Page Editor
virt.moe/cferr/editor/
Cloudflare error page editor
Online editor to create customized Cloudflare-styled error pages
virt.moe
December 10, 2025 at 7:40 PM
Reposted by YK
Don't use the method `replace` to remove punctuation from a Python string.

Instead, use the method `translate`.

This is much more efficient and more general.

The method `translate` expects a “translation table” in a specific format, but `maketrans` builds it for us.
March 15, 2025 at 5:55 PM