<[EMAIL PROTECTED]> writes:

> 
> Dears,
> 
> I found that I could convert all the python script to .exe.
> Thus I can remove Pyhthon dependecy.
> In case I know well, there are some python script left in the script 
> directory.
> I could relocate lyx2lyx here, and convert other scripts to .exe. Thus all
> the converted scripts will reside in the same dir.
> 
> lyx2lyx is converted, is it works fine?
> 

It works, but I still think there is something wrong with this approach (see
below...)

> I will do the conversion only, if there is some feedback about its
> working status.
> 
> Any feedback, comment?
> 

I think this is the wrong approach, if there is some way to implement
script/macro running right from inside LyX.

If Bo Peng is right, he can try turning all shell scripts into python; and if
the developers embed python within LyX, you don't need to call python.exe, but
the runtime library (python.dll on windows), and the relevant modules.

Check

http://docs.python.org/ext/embedding.html

to see what I mean.

Luis.

Reply via email to