tkinter programm opens with cmd
<p>I writed a program with Python 3.5.2 using Tkinter (and IDLE). When I debug it, the window comes up. And the window too, where we can see the Error. But if i don't debug it and open it by double-clicking, the window comes up with cmd. If I close the cmd, my window closes too.</p>

<pre><code>win = Tk()
win.geometry("450x500")
win.title(just a title)
win.wm_iconbitmap(just a path)
win.resizable(False, False)
</code></pre>

<p>How can I fix it? Thanks...</p>

<p>(Sorry for the bad English :) )</p>