2 ms·
With all due respect to the Python community, and without intending this as an insult per se, if this really is the "current recommendation", the Python communi
by jerf 9y ago
With all due respect to the Python community, and without intending this as an insult per se, if this really is the "current recommendation", the Python community is in no position to be criticizing the Go community on this point. This is about the fourth answer I've heard in the past 10 years. I've been programming off and on in Python for at least 15 years and I've never heard of this tool.
Out of morbid curiosity, what's the current answer for "how to pack up a Python program into a single executable/directory for Windows" now?
- KyeRussell 9y agoAm I meant to justify all Python-related decisions because I choose to work with it? Does my using Python (or even my membership in 'The Python Community') disqualify me from critiquing on other languages and development environments? What does your comment add to the discussion other than snark and aggression?
- jerf 9y agoA correction to people claiming that Python's obviously got a better solution to dependency management than Go, a solution so "obvious" that a Python programmer of 15+ years hasn't heard of it yet. (No, I'm not actively programming in Python right now, but if it's so obvious and concrete I should still have known about it. I was up-to-date on best practices as of a couple of years ago!) You aren't obligated to do anything; the question is open to anybody.
- mixmastamyk 9y agoThe original post says golang should be a bit better starting twenty years later. Pipenv has only existed a year or two, qed.
- osteele 9y ago> Out of morbid curiosity, what's the current answer for "how to pack up a Python program into a single executable/directory for Windows" now? The Hitchhiker's Guide to Python[1] (HHGTP) encapsulates a lot of standard tools and best practices. I've been recommending it to students for a few years now. Last year it listed virtualenv, venv, pyenv, etc.; now it recommends just pipenv. HHGTP also has sections on "Packaging Your Code" and "Freezing Your Code". I think what you're asking about is referred to there as "freezing". The "Freezing" section of HHGTP lists some Windows tools, and contains a table comparing them. There doesn't look to be a single accepted one. A G^nP post did criticize Go compared to Python, but I don't believe the author speaks for “the Python community”. [1] http://docs.python-guide.org/en/latest/ http://docs.python-guide.org/en/latest/