<div>Hi all,</div>
<div>#use py2exe properly to create a single distributable exe</div>
<div> </div>
<div>#setup.py- create a single exe that runs all boxex</div>
<div> </div>
<div>from distutils.core import setup<br>import py2exe<br>import sys</div>
<div># no arguments<br>if len(sys.argv) == 1:<br>    sys.argv.append("py2exe")</div>
<div># creates a standalone .exe file, no zip files<br>setup( options = {"py2exe": {"compressed": 1, "optimize": 2, "ascii": 1, "bundle_files": 1}},<br>       zipfile = None,<br>
       # replace test.py with your own code filename here ...<br>       console = [{"script": <strong>'test.py</strong>'}] )</div>
<div>-------------------------------------------</div>
<div> </div>
<div>vc ++ redistributable is a good option as well.</div>
<div> </div>
<div> </div>
<div>Regards</div>
<div>Prakash</div>
<div> </div>
<div> </div>