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


Groups > comp.lang.python > #44524

Re: Unwanted window spawns when using Tkinter with multiprocessing.

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; '"class"': 0.09; 'clause': 0.09; 'methods,': 0.09; 'subject:using': 0.09; '"def"': 0.16; '"if"': 0.16; 'barrier': 0.16; 'did,': 0.16; 'flush': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'statements,': 0.16; 'subject:Tkinter': 0.16; 'subject:skip:m 10': 0.16; 'subject:when': 0.16; 'variables,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'seems': 0.21; "i've": 0.25; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'checks': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'simple': 0.61; '30,': 0.65; 'subject:Unwanted': 0.84; '4:44': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=A0uqDaiEyYwWTBZAkR4Hegp0qzrUDxuXeDuhDWu/r0I=; b=Zq9OTZGgDpvolBgibaDRtNC091OC6T0hVx5r7Ph/fuJHj2gpSAU6b/pqNlIUkJmrSc YntteWXhB30BzgfV/72HdF59qnV2sNlsPx9zYlLezGuQogavYE/X6oTQOuWrM4vxYn/L jpP/OvxaUQlMpa6CnXNVo6bIMAd8P+W7mB5/5tBQMaZ1+dUr2dL8QvgSnRIxiyWY6U2G fgcGe41h4Ek5hCPOc/Pc7UZJ9TCHqx5B3ZPKWjobX55vTzs5qjdPuQqX4Mab0dQdLXKw 7buUsdvbRrXGWJL+ucbQuYNA65Ru2ZQVgz4YMLIeJhfvrSxowMrVszAoFuwyKAMycCOd YOdA==
MIME-Version 1.0
X-Received by 10.52.37.109 with SMTP id x13mr29323723vdj.10.1367272824799; Mon, 29 Apr 2013 15:00:24 -0700 (PDT)
In-Reply-To <9733b6b7-671d-45e1-87da-1fdbdd0ed7d0@googlegroups.com>
References <7df67006-2176-42cb-a8ce-95a72339e7e2@googlegroups.com> <9733b6b7-671d-45e1-87da-1fdbdd0ed7d0@googlegroups.com>
Date Tue, 30 Apr 2013 08:00:24 +1000
Subject Re: Unwanted window spawns when using Tkinter with multiprocessing.
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <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.1166.1367272826.3114.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367272826 news.xs4all.nl 15936 [2001:888:2000:d::a6]:41676
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44524

Show key headers only | View raw


On Tue, Apr 30, 2013 at 4:44 AM,  <alternative00@rocketmail.com> wrote:
> Yeah I did, but I globalized my variables, I've got only functions, and not methods, and my clause seems to work so I don't know why it doesn't work.

I don't know what you mean by your "clause", and I think we have a
language barrier here. (Though your English is *way* better than my
French.) But for a simple rule of thumb, the only things you should
have flush left are "def" and "class" statements, and the one "if"
that checks __name__. Everything else should be indented.

Chris Angelico

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


Thread

Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-28 11:33 -0700
  Re: Unwanted window spawns when using Tkinter with multiprocessing. Dave Angel <davea@davea.name> - 2013-04-28 17:18 -0400
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-28 15:23 -0700
    Re: Unwanted window spawns when using Tkinter with multiprocessing. Dave Angel <davea@davea.name> - 2013-04-28 19:10 -0400
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-28 16:40 -0700
    Re: Unwanted window spawns when using Tkinter with multiprocessing. Dave Angel <davea@davea.name> - 2013-04-28 20:24 -0400
    Re: Unwanted window spawns when using Tkinter with multiprocessing. Chris Angelico <rosuav@gmail.com> - 2013-04-29 13:03 +1000
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-29 08:31 -0700
    Re: Unwanted window spawns when using Tkinter with multiprocessing. MRAB <python@mrabarnett.plus.com> - 2013-04-29 18:03 +0100
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-29 10:32 -0700
    Re: Unwanted window spawns when using Tkinter with multiprocessing. Chris Angelico <rosuav@gmail.com> - 2013-04-30 03:45 +1000
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-29 11:44 -0700
    Re: Unwanted window spawns when using Tkinter with multiprocessing. Chris Angelico <rosuav@gmail.com> - 2013-04-30 08:00 +1000
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-29 18:17 -0700
    Re: Unwanted window spawns when using Tkinter with multiprocessing. Dave Angel <davea@davea.name> - 2013-04-29 22:05 -0400
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-30 05:22 -0700
    Re: Unwanted window spawns when using Tkinter with multiprocessing. Dave Angel <d@davea.name> - 2013-04-30 08:30 -0400
  Re: Unwanted window spawns when using Tkinter with multiprocessing. alternative00@rocketmail.com - 2013-04-30 05:31 -0700

csiph-web