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?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.05; 'subject:Python': 0.06; 'assuming': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; '.py': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'renaming': 0.16; 'subject:log': 0.16; 'prevent': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'installation': 0.23; 'cc:2**0': 0.24; 'suggested': 0.26; 'header :In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'run': 0.32; 'another': 0.32; 'subject:the': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'should': 0.36; 'being': 0.38; 'window': 0.38; 'pm,': 0.38; 'how': 0.40; 'forum': 0.61; 'click': 0.77; 'to:none': 0.92; 'fun!': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=vofwPFxdf5zI5SuSAunEWN0Tyiyphhto0YAmjmuUNGw=; b=0olRHrteXgmZwe6rzK33SVHt67UAQbCCmxbu3lNXlIuSSYSTuf3MgGygdzWoCtTAwz vq5xA/oL4/ofzFP5sE3ZcGQWGy6Sl1OIzQr2LDYtbWB5PwccZhcc4XlD+lvAWFHQxHYg U/OHEEts+yxnFeRm44n4Ryr2USK4IJAzfunYaGdAKm12wK7guClUyaxL+Q+lnxqbkTmT V9h+NB+ySYtbfABpuUQloqAbro+z5RU23LqxlnkIugFKp4pgxCR8oMdVbqP7RJdLsHa/ ByceebszjHcV5c8cEykwg3Bm9D6argQE2oHLso77xtq4vYMdzH/QvqXp+UQdd5hFmCZA Vmqw==
MIME-Version 1.0
X-Received by 10.42.15.19 with SMTP id j19mr22064028ica.59.1407065694741; Sun, 03 Aug 2014 04:34:54 -0700 (PDT)
In-Reply-To <6361ee6c-49c0-4b4d-b044-4a29f035b71d@googlegroups.com>
References <6361ee6c-49c0-4b4d-b044-4a29f035b71d@googlegroups.com>
Date Sun, 3 Aug 2014 21:34:54 +1000
Subject Re: How to turn off Python's event log window in the background?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12579.1407065702.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407065702 news.xs4all.nl 2967 [2001:888:2000:d::a6]:41222
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75591

Show key headers only | 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