Hi,
Yes, this is good question for Windows users.
Of course, you can download installer exe-file -> do installation ->
pack directory with python interpreter to zip (for example, or 7z) ->
copy archive file to another place/computer and unpack.
But it will not work out of box because original installer modifies
resources in MZ file and path to stdlib is there.
So just to use interpreter from that archive file you need to open
python.exe file and fix it (in any binary/hex editor).
This simple procedure but ... anyway ... I agree with Sina.
It would be nice to have just zip file with python interpreter (not
executable installer), unpack it anywhere, add path to this 'anywhere'
to PATH, and use it.
Java/DotNet/Go have this option. But python - not.
And question is - why?
On 1/17/22 18:37, Sina Mobasheri 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?
--
https://mail.python.org/mailman/listinfo/python-list