Re:“Python's batteries are leaking”
by liability on Saturday May 18, 2019 @06:20PM
(#19950043)
If Tkinter goes, then Python is dead to me. I use Python for small dep-free single file GUIs for small projects meant to be used by people who have Python installed but can't be bothered to go through an installation checklist. Tkinter is great for that and is the only reason I bother using Python for anything.
[ Parent
| on HN ]
"pip install --user -r requirements.txt" is not a terribly odious "installation checklist", and I don't think it's the start of a slippery slope towards one either.
If you're worried about people not RTFM when using your projects, you could always start your scripts with the standard try/import/except wrapper around the required package, and tell them to run pip install when it's not found--or (and this is a terrible idea) run it in a subprocess for them.
Asking my users to use the command line is odious.
Pardon me, but why wouldnt you be able to just run an old python if tkinter came out of the stdlib, or even just package it with whatever you are distributing?
Re:“Python's batteries are leaking”
by bobbylarrybobby on Sunday May 19, 2019 @02:09AM
(#19951736)
The point was that it’s much easier to distribute a single file app than it is to “correctly” distribute a full app with dependencies bundled.