I think Dave (of Dave's Garage) did this just a few months ago... I think there were some short-comings regarding wide character support (BoM detection, etc)... but it was pretty much a working Notepad.exe implementation.
FWIW, you can also get the new Edit implementation that's built with Rust and the Windows exe is 250kb...
⟩ dnf install --downloadonly --installroot /tmp/yourmom python3
…SNIP…
Transaction Summary:
Installing: 59 packages
Total size of inbound packages is 33 MiB. Need to download 33 MiB.
After this operation, 118 MiB extra will be used (install 118 MiB, remove 0 B).
The operation will only download packages for the transaction.
Don't get me wrong, Python is a great many things. Easy to use, surprisingly fast for a scripting language, and well documented. But not lightweight.
(( The Windows version is 110MiB after decompression. ))
while this is cool and I want to play with it myself, it's still sort of discounting the overhead here of installing python, installing tkinter,
adding shortcuts to the program within Windows, etc.
Of course the barrier to creating bespoke tools is lower but it's also still a decent bit of overhead and not just "hey AI, create me a Notepad clone that works like it used to". Arguably it's still more intensive than googling "notepad clone" and just downloading n++.
tracker1|4 days ago
FWIW, you can also get the new Edit implementation that's built with Rust and the Windows exe is 250kb...
fuzzylightbulb|4 days ago
5o1ecist|4 days ago
Tested with python 3.10.6, Windows. It's the only version I have installed, for which I've also have installed tkinter.
Welcome to 2026. You're late.
mmh0000|4 days ago
(( The Windows version is 110MiB after decompression. ))
soupfordummies|4 days ago
Of course the barrier to creating bespoke tools is lower but it's also still a decent bit of overhead and not just "hey AI, create me a Notepad clone that works like it used to". Arguably it's still more intensive than googling "notepad clone" and just downloading n++.
pqtyw|4 days ago
But anyone with basic experience in Python could have written that same app in minutes 20 years ago?
well_ackshually|4 days ago
>tkinter
so you missed the part where notepad starts instantly, doesn't choke on files larger than 25KB and uses native Win32 controls ?