possible to run a python script without installing python?

anpeo anders.u.persson at gmail.com
Wed Mar 16 03:19:12 EDT 2011


On Mar 16, 1:15 am, Terry Reedy <tjre... at udel.edu> wrote:
> On 3/15/2011 4:58 PM, davidj411 wrote:
>
> > it seems that if I copy the python.exe binary and the folders
> > associated with it to a server without python, i can run python.
> > does anyone know which files are important to copy and which can be
> > omitted?
>
> For the 3.2 Windows installation, you should be able to omit Doc,
> Lib/test, Lib/turtledemo, and Tools. Three of those are optional
> installs anyway. Lib/idlelib could almost certainly go if not running
> IDLE from the server (which would be unlikely). If not using tcl/tk,
> several files in DLLs, Lib, and libs and the tcl directory can go.
>
> Translate as needed for *nix.
>
> --
> Terry Jan Reedy

I use cx_freeze witch also works with Python 3.x
Test it, for me it was easier than to figure out what to copy

http://cx-freeze.sourceforge.net/

// Anders



More information about the Python-list mailing list