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: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Tue, Apr 30, 2013 at 4:44 AM, 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