title: Convert TKinter Into an Exe File
body: <p>As I was creating a program using python (tkinter), I am unable to convert it into executable form (<code>.exe)</code>. </p>
  
  <p>My program uses several images, a bitmap icon and widgets. </p>
  
  <p>I tried <code>cx_freeze</code>. It compiles well and generates <code>exe</code> and other files but doesn't run. I tried <code>cx_freeze</code> with several setup codes but it displays the error related to those images (maybe it don't support images compilation) when I execute it. </p>
  
  <p>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. </p>
  
  <p>So is there any way or method to convert the tkinter program (that uses images also) into exe file ? </p>
  
  <p>My script for <code>exe</code> is:  </p>
  
  <pre><code>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)])
  </code></pre>