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


Groups > comp.lang.python > #75588 > unrolled thread

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

Started bydufriz@gmail.com
First post2014-08-03 04:05 -0700
Last post2014-08-03 21:34 +1000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#75588 — How to turn off Python's event log window in the background?

Fromdufriz@gmail.com
Date2014-08-03 04:05 -0700
SubjectHow to turn off Python's event log window in the background?
Message-ID<6361ee6c-49c0-4b4d-b044-4a29f035b71d@googlegroups.com>
Hi,

whenever I run the Leo editor (a Python application) from Windows (8.1), there is always an event log window in the background. I want to turn it off.

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.

Could someone please tell me how to disable the event log window?

Thanks

[toc] | [next] | [standalone]


#75591

FromChris Angelico <rosuav@gmail.com>
Date2014-08-03 21:34 +1000
Message-ID<mailman.12579.1407065702.18130.python-list@python.org>
In reply to#75588
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web