Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75591

Re: How to turn off Python's event log window in the background?

References <6361ee6c-49c0-4b4d-b044-4a29f035b71d@googlegroups.com>
Date 2014-08-03 21:34 +1000
Subject Re: How to turn off Python's event log window in the background?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.12579.1407065702.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Aug 3, 2014 at 9:05 PM,  <dufriz@gmail.com> wrote:
> It was suggested to me on another forum that I use pythonw.exe instead of python.exe to prevent the window from being displayed, but I don't know how to do this, because it is all automatic: I just click on the .py file, and the python interpreter is automatically loaded.
>

Assuming you have your installation set up in the normal way, renaming
your .py file to .pyw will have it run with pythonw.exe instead of
python.exe. That should do what you want.

Have fun!

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to turn off Python's event log window in the background? dufriz@gmail.com - 2014-08-03 04:05 -0700
  Re: How to turn off Python's event log window in the background? Chris Angelico <rosuav@gmail.com> - 2014-08-03 21:34 +1000

csiph-web