running python from a memory stick?

John Salerno johnjsal at NOSPAMgmail.com
Thu Jul 13 11:33:12 EDT 2006


Fredrik Lundh wrote:

> windows doesn't care about the #! line, so you'd have to run the
> scripts as e.g.
> 
>     e:\py24\python.exe myscript.py
> 
>> Is this what exemaker takes care of?
> 
> exemaker simply maps
> 
>     foobar.exe
> 
> to
> 
>     python.exe foobar.py
> 
> and uses the #! line plus a bunch of heuristics to locate the various parts
> of the Python install.
> 
> you can of course use BAT-files as well (but exemaker EXE's look like
> real applications if you look at them in the task manager).
> 
>> Is it possible to *not* use exemaker, but still run scripts from the stick
> 
> sure (using the explicit "python.exe scriptfile" form).
> 
> </F> 
> 
> 
> 
Thanks a lot for the help! I'll look into this.



More information about the Python-list mailing list