<html><head></head><body>I agree that size is an issue, but is it really that bad? Just compare it to the recent "web surge" where everyone is writing desktop apps in HTML5+CSS+JS and bundling a huge WebKit engine in their apps binary.<br>
<br>
Python on Windows is seriously in a bad state. IMO, what needs to be prioritized is the ability to make exes that *actually work* with nicer GUI abilities. py2exe gives too many random DLL errors and PyInstaller is an ugly hack that just shoves 20 DLLs with your executable. Mixed with the fact that TkInter looks even uglier when built via py2exe and almost everything else (PyGI, PySide, etc.) requires yet another 20 DLLs (PySide threw in Qt DLLs that I didn't even use!), it's sad. Really sad.<br>
<br>
This is most of the reason I write programs that I plan on distributing to various crowds in some statically compiled language (C++, Nim, Felix, not Go) with (when necessary) a statically-linked GUI library. Less DLL hell, less free files, etc.<br>
<br>
Oh yeah, and add to that the problems with running both Python 2 and 3 on Windows while using some binaries that want 3 and others that want 2. It's painful.<br>
<br><br><div class="gmail_quote">On May 28, 2015 10:30:33 AM CDT, Steve Dower <Steve.Dower@microsoft.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Donald Stufft wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Well Python 3.4.3 binary is 4kb for me, so you'd have that + your 1KB Python script + whatever other pieces you need.<br /></blockquote><br />For contrast, here are the things you need on Windows to be able to get to an interactive prompt (I don't know how other platforms get this down to 4KB...):<br /><br />* python.exe (or some equivalent launcher) 39KB<br />* python35.dll 3,788KB<br />* vcruntime140.dll 87KB (the rest of the CRT is about 1MB, but is not redistributable so doesn't count here)<br />* 26 files in Lib 343KB<br /><br />This gets you to ">>>", and basically everything after that is going to fail for some reason. That's an unavoidable 4,257KB.<br /><br />The rest of the stdlib adds another ~16MB once you exclude the test suite, so a fully functioning Python is not cheap. (Using compressed .pyc's in
a zip file can make a big difference here though, assuming you're willing to trade CPU for HDD.)<br /><br />Cheers,<br />Steve<br /> <br /><hr /><br />Python-Dev mailing list<br />Python-Dev@python.org<br /><a href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a><br />Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com">https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>