Feb-18-2022, 01:29 PM
I want to install (only) Portable Python (on Windows) or even use it from USB flash drive.
For this I just want to unpack this Portable Python package:
https://sourceforge.net/projects/portabl...on%203.10/
However I want to have still a minimum on comfort and be able to call and use "py" or "pip directly in Windows Terminal/CommandPrompt
without putting a full path in front of it.
Is it enough to simply add the path to the Portable Python binary directory <base>\App\Python\ to the Windows PATH environment variable?
Furthermore I would like to be able to start Python scripts simply by double click a *.py script file
Will it be sufficient to setup a file association from file extension *.py to <base>\App\Python\python.exe?
For this I just want to unpack this Portable Python package:
https://sourceforge.net/projects/portabl...on%203.10/
However I want to have still a minimum on comfort and be able to call and use "py" or "pip directly in Windows Terminal/CommandPrompt
without putting a full path in front of it.
Is it enough to simply add the path to the Portable Python binary directory <base>\App\Python\ to the Windows PATH environment variable?
Furthermore I would like to be able to start Python scripts simply by double click a *.py script file
Will it be sufficient to setup a file association from file extension *.py to <base>\App\Python\python.exe?