Dear Mike,

> Are you sure? The only way I know of to convert a python script to
> .exe is with py2exe, which does it by creating an executable archive,
> and putting all the scripts that make up the program and the python
> interpreter in the archive. It doesn't remove the Python dependency so
> much as hide it.
Sure, you are right. If we convert the scripts to .exe, the user will not
need to install a newer (and possible incopatible) python, but a good tested
version. Therfore, we can say that the depency is removed.

> The downside is that you wind up with one copy of Python installed for
> every script. If you've only got one script, this is ok. If you've got
> more than one, you probably want to consider another approach.
It will be the same, using several scripts, too.

I have tried, I can do the following variant:
- place all the python scripts into the script dir
- create .exe files for the scripts
- create an archive file containing python

In this case, you will have only one python packaged , but several small
scrits converted to .exe.

A few converted scritps look like this:
PYTHON23 DLL       979 005  05.02.08  16.23 python23.dll
W9XPOPEN EXE        16 384  05.02.08  16.24 w9xpopen.exe
LIBRARY  ZIP       311 060  05.10.12  19.30 library.zip
LYX2LYX  EXE        40 960  05.10.12  19.30 lyx2lyx.exe
GENERA~1 EXE        28 672  05.10.12  19.30 general_command_wrapper.exe
PIC2AS~1 EXE        28 672  05.10.12  19.30 pic2ascii.exe

So, they can use the same interpreter.

This is my offer.

-- 
Best regards,
 Alex                          mailto:[EMAIL PROTECTED]

Reply via email to