Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'subject:file': 0.07; 'bug.': 0.09; 'cc:addr:python-list': 0.11; 'closed.': 0.16; 'expect,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'instance:': 0.16; 'ought': 0.16; 'paused': 0.16; 'then?': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'normally': 0.19; 'not,': 0.20; 'written': 0.21; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'least': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; 'dialog': 0.31; 'ok.': 0.31; 'file': 0.32; 'selection': 0.32; 'text': 0.33; "i'd": 0.34; 'editor': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'cancel': 0.36; 'window': 0.38; 'pm,': 0.38; 'does': 0.39; 'love': 0.65; 'close': 0.67; 'press': 0.70; 'click': 0.77; '5:36': 0.84; 'processor.': 0.84; 'on?': 0.91; 'to:none': 0.92 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; bh=Trr2H+wfq6ehGkb/bRH0ZY+1UTVWwJbLUV2kA4Rdy30=; b=dOmfaoy2jf1FSaIFrqkmnuvvGojw+e92ob38BpY/Un/JO6It6ohAE6XQ85koOm78XV 92E1DGTEpNYXIKLD1YQhW774HT7U622P/Jw4yAZ4VlM77tRgrBjrBNUoDkB3ZJkbhqd2 rKwu6Q0OT0o5eRpIprY4WSm1jACANmTPMWtjLIF4h/N1ZQIPIVzVbKOKCBpwnxE3iqj/ b104rXa48iTocjQ/UwgAGWbJLBFr+gIusX7zlgLB4v1gCHqVT+nGotDtaB8VmdZmz5HX GefrImhYMXANZvA4g+yhG3WSt1g4KZHEuBO4O3Ir7vT8I0JWHYpCjsOC59MujcRv1uir 5Z7w== MIME-Version: 1.0 X-Received: by 10.58.23.7 with SMTP id i7mr115637vef.57.1403077528330; Wed, 18 Jun 2014 00:45:28 -0700 (PDT) In-Reply-To: <68cd5f3f-94d8-4c44-8b4f-28961bf1186d@googlegroups.com> References: <94cdb6dd-9071-4006-89b2-c84d6bd757b6@googlegroups.com> <68cd5f3f-94d8-4c44-8b4f-28961bf1186d@googlegroups.com> Date: Wed, 18 Jun 2014 17:45:28 +1000 Subject: Re: Python Noob, open file dialog From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403077536 news.xs4all.nl 2974 [2001:888:2000:d::a6]:40064 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73353 On Wed, Jun 18, 2014 at 5:36 PM, cutey Love wrote: > No it's still paused after selection and only excutes when the window is closed. Treat the file dialog exactly the way you would in a text editor or word processor. Does your program continue as normal then? If not, please be really specific - for instance: """I bring up the file dialog, and I click on a file and press OK. It doesn't close the dialog like I would normally expect, and I have to press Cancel to make the dialog close - but then it works like OK ought to.""" Is that what's going on? (I have seen dialogs, and written some too, with this exact bug. But I'd be very surprised if it's the case with a standard file-open box.) If not, please be at least as detailed as the above. ChrisA