Re: running python from a memory stick?



Fredrik Lundh wrote:
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.

just install it as usual on C:, and copy the \python24 directory, plus the python24.dll
from \windows\system32, to a suitable directory on the stick. you can use a tool like
exemaker:

http://effbot.org/zone/exemaker.htm

to provide EXE loaders for your scripts.

Interesting. I didn't think it would be that easy. But I don't think I fully understand what exemaker does. Another question I had was since I won't be using a Windows registry, would I have to put the #! line on my scripts like in Linux? Is this what exemaker takes care of? Is it possible to *not* use exemaker, but still run scripts from the stick (such as with using the #! line?).

Thanks.
.



Relevant Pages

  • 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)
  • Re: How to restore disabled services to a non-functioning Services module?
    ... To start the Recovery Console, start the computer from the Windows 2000 Setup CD or the Windows 2000 Setup floppy disks. ... Press F10 or R to repair a Windows 2000 installation, and then press C to use the Recovery Console. ... Note If the registry is corrupted or missing or no valid installations are found, the Recovery Console starts in the root of the startup volume without requiring a password. ...
    (microsoft.public.win2000.general)
  • RE: Cannot login to Windows XP after repair
    ... This file edits an area of the registry, and Ad-aware 6 Build 181 is unable ... Windows XP CD-ROM into the CD-ROM drive, ... If you have a dual-boot or multiple-boot computer, select the installation ... xp cd on two sep hard drives? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Im an idiot with a recovery console
    ... There is no Registry modification thing in Recovery console but if you ... Windows XP but no Microsoft programs are working with the afore ... use the generic restore system in XP thats all turned off but I know ... I started an XP installation i have on a seperate ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: XP Wont Log-In; returns Me to Welcome Screen
    ... but doesn't correct the registry damage. ... This is particularly useful if you have an OEM installation ... Expert Zone - www.microsoft.com/windowsxp/expertzone Unofficial FAQ for Windows Server 2003 at ... Only now it shows teh desktop, or> rather just the wallpaper, for a split second and then goes to the welcome> screen and shows my account on there like it would if you have numerous> accounts or an account with a password. ...
    (microsoft.public.windowsxp.basics)