By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,564 Members | 954 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,564 IT Pros & Developers. It's quick & easy.

What is python.exe?

P: 6
Is it a program ? I have it on my computer but they say that i need pythonw.exe to remove the console window when i run my python program . However , you might think i am dumb but i don't understand what is it and how to do it but i know that it takes down the console window when Python is launched... If it's a program where can i download it and see a tutorial on it?

I am sorry if my question doesn't make sense but if there is a full tutorial on how to remove the console window i will see it so please send me one or just explain to me how to do it below .. Thank you
Mar 22 '12 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,043
Python is a programming language (see:

In the docs of this language (chapter 3.3.4) is the explanation link:
Python scripts (files with the extension .py) will be executed by python.exe by default. This executable opens a terminal, which stays open even if the program uses a GUI. If you do not want this to happen, use the extension .pyw which will cause the script to be executed by pythonw.exe by default (both executables are located in the top-level of your Python installation directory). This suppresses the terminal window on startup.
Mar 23 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.