[BangPypers] Python conversion from .py to .exe

Senthil Kumaran senthil at uthcode.com
Sat Jan 3 04:27:04 CET 2015



On Friday, January 2, 2015 at 5:03 AM, Abhijit Bangera wrote:

> That is to say, I have multiple modules to run. I am using py2exe (http://www.py2exe.org/index.cgi/Tutorial) for this. Can anyone help me getting this done?
>  
> Also say I have a project which makes use of DB, will the conversion process take care of DB part as well?

For any application, which has multiple modules and some of which are interacting with databases, you will have “entry point”. Entry point module is how the applications recognize which module to run. As explained in the tutorial, you design your application with one entry point and point that entry point in the setup.py

If you have multiple entry points, then it is considered as multiple applications you will create exes for each of them.

HTH,
Senthil


--  
Senthil Kumaran



More information about the BangPypers mailing list