<html><body bgcolor="#FFFFFF"><div>Run your script using pythonw.exe instead of python.exe ; it doesn't open a console window and exists for this exact purpose.</div><div><br></div><div>Cheers,</div><div>Chris Rebert</div><div><br>On Sep 30, 2008, at 1:28 PM, <a href="mailto:dudeja.rajat@gmail.com">dudeja.rajat@gmail.com</a> wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div><div dir="ltr">Hi,<br><br><br>I m using Tkinter and Tix to create a GUI on Windows XP. So far I've created the GUI and it just works.<br><br><br>But the problem is as soon as I double click on the script it besides opening the GUI also opens a shell ( a blank screen) with it. Pleas suggest how can I get rid of this blank screen.<br>
<br>My program is staring as :<br><br><br><br><font size="1"><span style="font-family: courier new,monospace;">myRoot = Tix.Tk()</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">myRoot.title("Test Automation")</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">< some stuff></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">< ...............></span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">myRoot.mainloop()</span></font><br><br><br>Thanks and regadrs,<br>Rajat<br>
</div>
</div></blockquote><blockquote type="cite"><div><span>--</span><br><span><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a></span></div></blockquote></body></html>