On 26 ožu, 20:11, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Wed, 26 Mar 2008 15:38:16 -0300, Tzury Bar Yochay
[EMAIL PROTECTED] 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.
En Thu, 27 Mar 2008 06:00:26 -0300, [EMAIL PROTECTED] escribió:
I was add this into my application code:
import sys
import os
my_dir=os.getcwd()
sys.path.append(my_dir)
sys.path.append(my_dir+\\libary.zip)
sys.path.append(my_dir+\\libary.zip\\py2exe) # PY2EXE is folder
f=open(path.txt,w)
On 27 ožu, 10:44, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Thu, 27 Mar 2008 06:00:26 -0300, [EMAIL PROTECTED] escribió:
I was add this into my application code:
import sys
import os
my_dir=os.getcwd()
sys.path.append(my_dir)
sys.path.append(my_dir+\\libary.zip)
Create your py2exe distribution without a zipfile and all the modules
will just be put into the installation directory. Use Inno Setup to
make a proper installer for your application.
-Larry
On Thu, 2008-03-27 at 06:44 -0700, [EMAIL PROTECTED] wrote:
On 27 ožu, 10:44, Gabriel Genellina [EMAIL
En Thu, 27 Mar 2008 14:34:02 -0300, Larry Bates [EMAIL PROTECTED]
escribió:
Create your py2exe distribution without a zipfile and all the modules
will just be put into the installation directory. Use Inno Setup to
make a proper installer for your application.
I second that. It's the
Hello,
Does anybody have any idea how can I embed my modules to libary.zip
and use it from my application.For example if user write this code in
my TextEntry ( or something like that, textentry is created with
wxpython ) :
import d3dx # directpython module
frame=d3dx.Frame(uMy frame) # create
En Wed, 26 Mar 2008 14:55:43 -0300, [EMAIL PROTECTED] escribió:
Does anybody have any idea how can I embed my modules to libary.zip
and use it from my application.For example if user write this code in
my TextEntry ( or something like that, textentry is created with
wxpython ) :
import d3dx
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
--
http://mail.python.org/mailman/listinfo/python-list
En Wed, 26 Mar 2008 15:38:16 -0300, Tzury Bar Yochay
[EMAIL PROTECTED] 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