Well, I've written a simple program that gives you info about your computer. The program runs perfectly fine, but the console window pops up and really does nothing. So I would like to hide the console window and only show the gui frame. Pointers on how to do this?
AutoPython 5 Junior Poster
Recommended Answers
Jump to PostYou have two options.
1. Save the file as a .pyc instead of a .py.
2. Try "root.withdraw()". (replace root with whatever you named your root widget)Or you could compile it with py2exe if you want to get fancy and Windows only. (if you choose this option, …
Jump to PostYou should run your program with pythonw.
This can be done in your command line or by renaming your .py file .pyw
Jump to PostLooks like I need to mark this thread.
All 12 Replies
SoulMazer 26 Posting Whiz in Training
Mensa180 0 Light Poster
SoulMazer 26 Posting Whiz in Training
Mensa180 0 Light Poster
jice 53 Posting Whiz in Training
Mensa180 0 Light Poster
Mensa180 0 Light Poster
AutoPython 5 Junior Poster
SoulMazer 26 Posting Whiz in Training
Mensa180 0 Light Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
sheeps 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.