G+_Rud Dog Posted April 29, 2017 Share Posted April 29, 2017 These last few months learning Python 3 and Tkinter 8.6 have, to say the least, frustrating. There are communities similar to KnowHow but never succeed in getting a dialog going. As for the the other sites with really short tempered experts usually ending up in a discussion on grammar or "question has been asked before" with no reference to the solution. So does anyone know if a friendly place to ask sometimes newbie and advanced subject questions? Have a current project in mind and kind of stuck, here is a sneak peak at the interface. One of the first item of concern when I launch my GUI that pesty DOS Prompt command windows opens as well. Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted April 29, 2017 Share Posted April 29, 2017 I know there are a lot of people here that like to help and answer questions, but for programming stuff Stack Overflow might get answers from people with more experience. This was a link on a Google search for "launch python gui without console" http://stackoverflow.com/questions/1689015/run-python-script-without-windows-console-appearing Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted April 29, 2017 Author Share Posted April 29, 2017 Ben Reese I saw that write up and if you are running the script in its raw form as in mypyhon.py it will launch the window but if you use I believe it is mypython.pyw it will not. Unfortunately when I create the executable using py2exe on mypython.pyw it continues to launch the window mentioned. In fact that is what the screen shot is of an executable created via the extension pyw. Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted April 29, 2017 Author Share Posted April 29, 2017 Ben Reese as always you rattled my brain and pointed me to the final solution. I ran the modified setup.py and it worked. stackoverflow.com - Make a py2exe exe run without a console? Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted April 29, 2017 Author Share Posted April 29, 2017 In case anyone wants to see the small changes I made to setup.py to make it work here they are: pastebin.com - [Python] setup.py Version will not launch Black dos window. - Pastebin.com Link to comment Share on other sites More sharing options...
Recommended Posts