What is python.exe?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karimspencer
    New Member
    • Mar 2012
    • 6

    What is python.exe?

    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
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    Python is a programming language (see: http://www.python.org/)

    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.

    Comment

    Working...