Py2exe embed my modules to libary.zip

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Mar 26 15:11:40 EDT 2008


En Wed, 26 Mar 2008 15:38:16 -0300, Tzury Bar Yochay  
<Afro.Systems at gmail.com> escribió:

>> ....and then when my application execute code how can I set path to
>> d3dx module to "library.zip/d3dx.py".
>> I'm not sure is this properly set question.
>
> use the module zipimport
> http://docs.python.org/lib/module-zipimport.html

You don't have to do anything special to "use" zipimport; from  
<http://docs.python.org/lib/module-zipimport.html> :
"It is usually not needed to use the zipimport module explicitly; it is  
automatically used by the builtin import mechanism"

-- 
Gabriel Genellina




More information about the Python-list mailing list