pythonpython-2.7usb-flash-drive

install python.exe using a flash drive


I have just acquired a stand alone PC running XP, and I do not want to connect to the internet. I am running python 2.7 on my laptop and was wondering if there was a way to install the python.exe file to a flash drive so I can install python 2.7 on the stand alone. The download from the python.org website goes straight to the path in my c drive, and will not let me save it to the flash drive. I have tried installing from active state, and I am unable to use this as it is not win32. Any help will be much appreciated.


Solution

  • You can download python's zip file then unzip it onto your flash drive, here's the link for the latest release of python 3.6.1 with win32 including all the components that python is required to run as well as the python.exe that you wanted:

    https://www.python.org/ftp/python/3.6.1/python-3.6.1-embed-win32.zip

    Here's the link to the downloads page, if you wanted another version of python, look for Download Windows x86 embeddable zip file.