On Sat, Feb 19, 2022 at 04:14:57PM +0900, Stephen J. Turnbull wrote:
Steven D'Aprano writes:
by the time you have finished debugging the script, the reason for creating the venv in the first place is no longer relevent.
Eh? Would you be willing to unpack that reference to 'venv' specifically, or was that just your patent-pending snark? I can't recall a venv being obviated by later developments,
You have never created a venv and then later decided that it wasn't needed because the project was cancelled, the job fell through, somebody solved the problem in another way, your client changed the project specifications and you deleted the old venv and created a new one, you decided to work on something else instead, the company went bust, etc? Lucky you. For a mailing list community that loves to be hyper-skeptical about the usefulness of 90% of ideas proposed here, we sure are touchy about any suggestion that pip and venvs aren't the greatest tools ever made. Here's a hint for the future. When I follow a comment with a smiley emoticon or emoji, or *wink*, it means that my comment isn't intended to be taken too seriously. It's a bit of light-hearted banter. And there's at least a 50% chance that it is intended to be self-mocking, or at least affectionate teasing of the tropes and memes that are common in programming circles, such as the "Three Strikes Rule". http://wiki.c2.com/?ThreeStrikesAndYouAutomate especially the tendency to spend more time automating a task than will ever be saved by the automation. Even XKCD has joked about that. https://xkcd.com/1319/ -- Steve