Python, Be Bold!

Barry Scott barry at barrys-emacs.org
Fri Jan 3 14:03:15 EST 2020



> On 3 Jan 2020, at 02:31, Abdur-Rahmaan Janhangeer <arj.python at gmail.com> wrote:
> 
> 
> 
> On Fri, 3 Jan 2020, 02:50 Barry Scott, <barry at barrys-emacs.org <mailto:barry at barrys-emacs.org>> wrote:
> Expect for trivial programs you cannot distribute a single file python exe for windows.
> 
> You can, PyInstaller does it. You can have folder-based or single file apps
> 
> As you found zipapp is not a solution.
> 
>  Zipapp is a good candidate. Proposing to improve it

I'm at a lose to understand what the problem is that zipapp is the solution to that is not better served
with pip or PyInstall etc.


> 
> 
> Many stdlib modules use DLL's on Windows and you cannot run a DLL from
> inside a zip file.
> 
> PyInstaller's -F mode does it well

Then use that are be happy.


> 
> But, this proposal is not about native executables. It's about a .jar like executable. As a python-specific 'executable', os is not a problem unless of course you are using like curses on windows

Barry



More information about the Python-list mailing list