|
From: andres f. s. e. <lor...@ho...> - 2008-05-02 12:21:34
|
Does anyone could help me generate an executable program that functions for the bounce.py with py2exe?
Thank you
bounce.py:
from visual import *
from numpy import *
ball = sphere(pos=(0,4,0), color=color.red)
example = zeros((10,10),dtype=float)
print (example)
setup.py:
from distutils.core import setup
import py2exe
opts = {
'py2exe': {'packages':['numarray']
}
}
setup(windows=[{"script" : "bounce.py"}], options=opts)
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us |