About Python Compressed Archive or Binaries

Chris Angelico rosuav at gmail.com
Mon Jan 17 10:49:12 EST 2022


On Tue, Jan 18, 2022 at 2:47 AM Chris Angelico <rosuav at gmail.com> wrote:
>
> On Tue, Jan 18, 2022 at 2:42 AM Sina Mobasheri
> <sinamobasheri at outlook.com> wrote:
> >
> > Java offers download JDK as Compressed Archive or NodeJS offers download Node as Binaries both give us a compressed file for Linux and windows that we can just unzipped it and put in a custom directory and set some environment variables and start working
> >
> >
> > I'm aware that Python also have something called Embedded Zip for Windows and nothing like that for Linux as far as I know, and I think this Embedded Zip is not something that the user wants to work with that directly it's for embedding in a C++ application, so it's not the same as options that Java and NodeJS offering
> >
> >
> > My question is why is Python haven't an option for downloading as Compressed Archive?
> > Is it's due to a technical issue? political reasons? or is it just simply because nobody has thought of doing it?
> >

Premature send, oops.

That's already possible: https://docs.python.org/3/library/zipapp.html :)

Alternatively, if you mean the CPython binary itself, then that is
available in a number of formats, so I'm not sure what you're asking
about in that case.

ChrisA


More information about the Python-list mailing list