Content-Type: multipart/alternative; boundary="----=_Part_51343_1561734.1225158097348" ------=_Part_51343_1561734.1225158097348 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I use the following script to converts the attached file to EXE and I get traceback error this is the setup script: from distutils.core import setup import py2exe setup(console=['babylon.py'], options = { "py2exe": { "packages": ["pyHook", "encodings", "pywinauto", "pywinauto.controls", "pywinauto.tests", "urllib2", "pyTTS"], "excludes" : ["sendkeys"], } } ) some one know way? ------=_Part_51343_1561734.1225158097348 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline