Re: running python from a memory stick?



John Salerno wrote:
Is there a way to 'install' and use Python on a memory stick, just as you would on any computer? I use Windows, and I know the installation does things with the registry, so probably I couldn't use the executable file to install it. But is it possible to do it some other way, such as how you might build it yourself on Linux (although I don't know how to do that yet) and then just write and run scripts normally straight from your memory stick?

Python looks for the libraries relative to python.exe. So you can copy the Python installation directory to your memory stick (make sure that python24.dll is included, this is copied to %windir%\system32 if you have done the admin installation) and it should just work. You can test that by renaming in your registry HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.4 (or whatever version you're using)

Daniel
.



Relevant Pages

  • Re: Why cant I update office
    ... have either of you taken the printed advice and contacted Microsoft ... >>|| installation source for this product is not available. ... delete registry entries is not an acceptable solution. ... If you use Registry Editor ...
    (microsoft.public.officeupdate)
  • Re: Why cant I update office
    ... MSP files are stored on your computer after update installation ... > Please contact Microsoft Product Support Services for assistance. ... delete registry entries is not an acceptable solution. ... If you use Registry Editor ...
    (microsoft.public.office.misc)
  • Re: Attempted Repair of XP Pro installation
    ... registry keys refers to. ... Bear with me Peter as I'm just a novice when it ... and tried to repair it using the XP installation CD since the computer ...
    (microsoft.public.windowsxp.help_and_support)
  • RE: help and support doesnt open
    ... when i booted back to normal, i am able to access help and support. ... perhaps i need to repair my windows installation? ... run "regedit" (without quotation marks). ... Check the Typelib registry value: ...
    (microsoft.public.windows.server.sbs)
  • Re: ntoskrnl.exe problem HELP
    ... 1- Use something like BartPE http://www.nu2.nu/pebuilder/ with a registry editor plugin http://sourceforge.net/projects/regeditpe/to edit the registry. ... 2- Mount the disk in another Windows NT type computer and use the "Load Hive" feature in Regedit or Regedt32. ... 3- Access the broken installation via a "Parallel" or proper "Dual Boot" installation on the same computer and use the "Load Hive" feature in Regedit or Regedt32. ... I've been using the Windows XP CD, but that only gets me to the recovery console, which thusfar hasn't done me any good, but if I can expand to the right thing from the CD, that sounds logical. ...
    (microsoft.public.windowsxp.help_and_support)