Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'ignored': 0.07; 'purpose.': 0.07; 'clause': 0.09; 'subject:using': 0.09; 'windows': 0.15; 'bits.': 0.16; 'bypassed': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Tkinter': 0.16; 'subject:skip:m 10': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'module': 0.19; 'pointed': 0.19; 'examples': 0.20; 'mon,': 0.24; 'least': 0.26; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'explained': 0.31; 'this.': 0.32; 'url:python': 0.33; 'running': 0.33; 'subject:with': 0.35; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'should': 0.36; 'requirements': 0.37; 'received:209': 0.37; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'dave': 0.60; 'most': 0.60; 'here': 0.66; 'saw': 0.77; 'subject:Unwanted': 0.84; '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=YH7RP/Ks9G8SZzKws9xK8XT+TFQzVAOuyiJj/erUUmY=; b=a1wM79lDIRVajbo6OPt4BqQUba9+IANL7yztS0JqWI3qg/eUxi0Nix/fYqpZ01Mhtb w/ExW+7ipkXBvy57pW+jwcyh6wluc7g43cLNy7AabYTMVcDuPVyg/nTjKlOnsSrNKWl4 9zC+ccPLMrZCFUiMcs2Be890nJ/rgHDvAFKNGVTcDyuQGCh/rXL+7GSe2FHVj17NXWTd fNXfRFPsDnB+uKfOlz/zZkTIDhcg27UwqRNl1yMavQXsh48UCqYtaWtH2Kbej/Pit9xZ gu68q+AqGOVBYLrx5HAgJ4XICYt1AYuJ5ssrgLc1nuSDciLshTiuwLEMjN/UlVsF9RnC f05g== MIME-Version: 1.0 X-Received: by 10.58.15.193 with SMTP id z1mr32645088vec.40.1367204639648; Sun, 28 Apr 2013 20:03:59 -0700 (PDT) In-Reply-To: <979db8bf-4d5c-4c7f-8a05-cfade946026f@googlegroups.com> References: <7df67006-2176-42cb-a8ce-95a72339e7e2@googlegroups.com> <979db8bf-4d5c-4c7f-8a05-cfade946026f@googlegroups.com> Date: Mon, 29 Apr 2013 13:03:59 +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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367204642 news.xs4all.nl 15911 [2001:888:2000:d::a6]:54553 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44485 On Mon, Apr 29, 2013 at 9:40 AM, wrote: > Well I saw this clause on most of the multiprocessing examples I saw but the reason it was here wasn't explained so I just ignored it (yeah stupid I know). I don't think I bypassed anything, at least not on purpose. I'm running on Windows 7 64 bits. Using multiprocessing on Windows has some requirements: http://docs.python.org/2/library/multiprocessing.html#windows If you take care of those restrictions, you should be able to do this. As Dave pointed out, one of the requirements is for your module to be importable. ChrisA