0

Here's what I have done so far: -I made a desktop search program/GUI using python and tkinter.

-Then I used py2exe to convert it to an exe.

-Now the software perfectly works on a machine(windows) without python installed, but the problem is that a creepy black window just appears along with the GUI when the .exe is opened.

Is there any way to make it look less creepy to an end user?

Yugal
  • 1
  • 2
  • 2
    I think that this question was answered [here](http://stackoverflow.com/questions/764631/how-to-hide-console-window-in-python). Hope this helps – Craig Douglass Jul 23 '16 at 12:53
  • I'm a bit confused here. If I rename it with .pyw extension, will py2exe freeze it using pythonw.exe or something? And if the end user doesn't have python installed(thus no pythonw.exe), will it then make a difference? – Yugal Jul 23 '16 at 13:32
  • I am going to check it, but I just asked for curiosity's sake.. :) – Yugal Jul 23 '16 at 13:33

1 Answers1

0

Change the file extension from .py to .pyw (You must have Python installed for this to work.)

Duplicate: Hide console window with Tkinter and cx_Freeze

Community
  • 1
  • 1
Amal Rajan
  • 133
  • 1
  • 11