Creating .exe file in Python

subhabrata.banerji at gmail.com subhabrata.banerji at gmail.com
Wed Jun 17 10:16:33 EDT 2015


On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, subhabrat... at gmail.com wrote:
> Dear Group,
> 
> I am trying to learn how to create .exe file for Python. I tried to work around 
> http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went nice.
> But if I try to make exe for larger programs with methods and classes I am getting error. 
> 
> If any one of the esteemed members may kindly suggest how to work out. 
> I am using Python2.7+ on Windows 7 Professional. 
> 
> Regards,
> Subhabrata Banerjee.

But if I am moving the file from Python environment and to another folder in C: drive it is not running, it is giving me following error messages,
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\tutorial>hello.exe
LoadLibrary(pythondll) failedThe specified module could not be found.
C:\tutorial\PYTHON27.DLL
C:\tutorial>

Regards,
Subhabrata Banerjee. 



More information about the Python-list mailing list