0

Possible Duplicate:
How to hide console window in python?

I have a simple script with one messagedialog only...

how can I hide the console from it when I execute the app?

0

1 Answer 1

3

Execute the script using pythonw.exe rather than python.exe. You can set that up to happen automatically by giving the script the extension .pyw rather than .py.

Sign up to request clarification or add additional context in comments.

4 Comments

but I will transform this script in executable... how do I do then?
@Shady: Define "transform", and elaborate on how you're using the script in your executable.
That sort of depends on how you turn it into an executable. If you are using py2exe then it is an option inside your configuration file.
@JAB, sorry for the lack of info, p2exe, and I've managed to work, thanks for the help

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.