Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #25427
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'start-up': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '"if"': 0.16; 'none"': 0.16; 'out"': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'app': 0.19; 'sort': 0.21; "i've": 0.23; 'somewhere': 0.24; 'second': 0.24; 'am,': 0.27; 'embedded': 0.27; 'prevent': 0.27; 'question': 0.27; 'there.': 0.28; 'header:X-Complaints-To:1': 0.28; 'lines': 0.28; 'code': 0.31; 'url:home': 0.33; 'to:addr :python-list': 0.33; 'there': 0.35; 'received:org': 0.36; 'michael': 0.36; 'charset:us-ascii': 0.36; 'author': 0.37; 'previous': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'time,': 0.62; 'jul': 0.65; 'dennis': 0.91; 'rusi': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: Python and Qt4 Designer |
| Date | Mon, 16 Jul 2012 13:07:55 -0400 |
| Organization | > Bestiaria Support Staff < |
| References | <mailman.2020.1342055147.4697.python-list@python.org> <b6a17f2f-1653-4c4e-a50e-af13c1eabcd7@n16g2000vbn.googlegroups.com> <mailman.2060.1342144373.4697.python-list@python.org> <d3ed2da1-d1c5-4d1f-bd66-cceb9248bfce@googlegroups.com> <mailman.2114.1342278483.4697.python-list@python.org> <1bb0d4df-3937-4d5f-aedb-734e0c54eb85@f9g2000pbd.googlegroups.com> <500255BA.5080102@gmail.com> <5002782D.7080009@swing.be> <50041D83.5020103@gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-76-253-106-193.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 3.3/32.846 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2181.1342458489.4697.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1342458489 news.xs4all.nl 6860 [2001:888:2000:d::a6]:47006 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:25427 |
Show key headers only | View raw
On Mon, 16 Jul 2012 07:56:19 -0600, Michael Torrie <torriem@gmail.com>
declaimed the following in gmane.comp.python.general:
> On 07/15/2012 01:58 AM, Vincent Vande Vyvre wrote:
> > Rusi is not the op, and his question is about these lines
> >
> > app = None
> > if ( not app ):
>
> Yeah that's a no-op. The original author of that code is clearly
> confused there.
>
I've wondered if the original sample had been much larger at one
time, and embedded in some sort of "auto-restart" loop (say, for a kiosk
application). In that situation, one would perhaps want the "app = None"
somewhere near the start to "wipe out" the previous GUI, and the "if"
was as a guard to prevent a second start-up [if there were some other
loop also in the code].
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[newbie] Python and Qt4 Designer Jean Dubois <jeandubois314@gmail.com> - 2012-07-11 08:37 -0700
Re: [newbie] Python and Qt4 Designer Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2012-07-12 02:59 +0200
Re: Python and Qt4 Designer Jean Dubois <jeandubois314@gmail.com> - 2012-07-11 23:42 -0700
Re: Python and Qt4 Designer Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2012-07-13 03:52 +0200
Re: Python and Qt4 Designer Jean Dubois <jeandubois314@gmail.com> - 2012-07-13 14:12 -0700
Re: Python and Qt4 Designer Michael Torrie <torriem@gmail.com> - 2012-07-14 08:45 -0600
Re: Python and Qt4 Designer rusi <rustompmody@gmail.com> - 2012-07-14 10:13 -0700
Re: Python and Qt4 Designer Michael Torrie <torriem@gmail.com> - 2012-07-14 23:31 -0600
Re: Python and Qt4 Designer Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2012-07-15 09:58 +0200
Re: Python and Qt4 Designer Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-15 08:42 -0400
Re: Python and Qt4 Designer Michael Torrie <torriem@gmail.com> - 2012-07-16 07:56 -0600
Re: Python and Qt4 Designer Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-16 13:07 -0400
Re: Python and Qt4 Designer Jean Dubois <jeandubois314@gmail.com> - 2012-07-13 14:12 -0700
csiph-web