Convert TKinter Into an Exe File
Question: As I was creating a program using python (tkinter), I am unable to convert it
into executable form (`.exe)`.

My program uses several images, a bitmap icon and widgets.

I tried `cx_freeze`. It compiles well and generates `exe` and other files but
doesn't run. I tried `cx_freeze` with several setup codes but it displays the
error related to those images (maybe it don't support images compilation) when
I execute it.

I tried searching for an answer, but the solution was related to those tkinter
programs that uses only basic widgets but not images in it.

So is there any way or method to convert the tkinter program (that uses images
also) into exe file ?

My script for `exe` is:

    
    
    import sys
    from cx_Freeze import setup, Executable
    sys.argv.append("build")
    filename = "program.py"
    base = None
    if sys.platform == "win32":
        base = "Win32GUI"
    setup(
        name = "Unick Locker",
        version = "2.0",
        description = "a GUI app that helps you securing your files and data with many functions",
        executables = [Executable(filename, base=base)])
    


Answer: I would highly recommend py2exe, I use it and it works flawlessly.

This is a youtube video that explains how to use it. (i cant insert links as
im on a mobile)

<http://m.youtube.com/watch?v=VKQ1Ph81Gps>

Any errors just ask, I use it quite enough to know.

