embedding python..

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Oct 7 06:08:49 CEST 2007


En Fri, 05 Oct 2007 20:40:40 -0300, Eric_Dexter at msn.com  
<Eric_Dexter at msn.com> escribi�:

>      I compiled the c program that is supposed to allow you to call a
> procedure from the command line promt..  (it is from the embeding
> example)..  I am a little confused as to what all I am supposed to
> distribute to make it work..  Do I just need the python .dll for the
> version I compiled or is it working with the installed version of
> python.. (I don't want to start deleting stuff to find out)..  Any
> help on this question would be apreaceated..

If you only provide pythonXX.dll (and probably msvcr71.dll), any Python  
code that tries to import any module apart from builtin modules will fail.  
If you provide the Python standard library in full, almost any program  
could be run.
It's up to you to decide how much you require/allow/want to provide.

-- 
Gabriel Genellina




More information about the Python-list mailing list