<div>Hi all...</div>
<div> </div>
<div>I created an exe for my application. While generating the exe, py2exe reports that win32com.shell module is not found and continues generating exe.</div>
<div>When I try to run the exe, I get an import error that "No module named shell".......</div>
<div> </div>
<div>I opened pythonwin and tried importing wincom.shell. Its working fine.....!!!!! Then where am I doing wrong....</div>
<div> </div>
<div>My setup file looks like:</div>
<div> </div>
<div>
<p>#Start here <br>from distutils.core import setup <br>import py2exe </p>
<p>setup(options = {"py2exe": {"compressed": 1,<br> "optimize": 2,<br> "ascii": 1,<br> "bundle_files": 1}},<br>
zipfile = None,<br> console = ["Sample.py"],<br> name = 'test') <br>#End here<br></p>
<p>Thanks..</p>
<p>Tejovathi</p>
<p> </p></div>