{"id":33,"date":"2006-09-21T09:45:56","date_gmt":"2006-09-21T13:45:56","guid":{"rendered":"http:\/\/scott.sherrillmix.com\/blog\/programmer\/getting-rid-of-the-python-console-window\/"},"modified":"2007-02-13T00:53:23","modified_gmt":"2007-02-13T04:53:23","slug":"getting-rid-of-the-python-console-window","status":"publish","type":"post","link":"http:\/\/scott.sherrillmix.com\/blog\/programmer\/getting-rid-of-the-python-console-window\/","title":{"rendered":"Getting Rid of the Python Console Window"},"content":{"rendered":"

Python sure is handy. I just found out that if you make a program that uses wxPython<\/a> or something to generate windows and don’t want the big (somewhat ugly) black console window, all you have to do is change the program name from program.py<\/code> to program.pyw<\/code> or run pythonw.exe<\/code> instead of python.exe<\/code>. Pretty obvious now but took me a few minutes to come up with the right google. Now I just wish it wasn’t using 16 megs of RAM for a 30 line program…<\/p>","protected":false},"excerpt":{"rendered":"Python sure is handy. I just found out that if you make a program that uses wxPython or something to generate windows and don’t want the big (somewhat ugly) black console window, all you have to do is change the program name from program.py to program.pyw or run pythonw.exe instead of python.exe. Pretty obvious now […]","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,13],"tags":[73,71,70,30,72,710,69,74],"_links":{"self":[{"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/posts\/33"}],"collection":[{"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/scott.sherrillmix.com\/blog\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}