Take the 2-minute tour ×

I use some python code from c++ code, but when I compile my code to .exe it requires python27.dll and some of .py files from puthon/Lib. I want to pack this required files in .exe file, how can I do this?

share|improve this question

1 Answer 1

This is certainly a duplicate question, but cx_freeze, py2exe and pyinstaller are a few of the options

share|improve this answer
as I understood these solutions can help only if you want to translate python code into .exe file, but I generate my .exe from c++ code (that have some calls of python code). –  mrgloom Apr 28 '12 at 8:32

Your Answer


