Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Lorenzo Sutton Newsgroups: comp.lang.python Subject: Re: Tk alternative to askopenfilename and askdirectory? Date: Wed, 16 Dec 2015 17:24:43 +0100 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de WlxTpbzV5G8EhdL4truKRAav4XRAGyp6CJWPvDcgxYiw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.096 X-Spam-Evidence: '*H*': 0.81; '*S*': 0.00; 'subject:skip:a 10': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:alternative': 0.16; 'subject:askdirectory': 0.16; "tk's": 0.16; 'wrote:': 0.16; 'select': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'guess': 0.31; 'message- id:@gmail.com': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'received:74.125.82': 0.35; 'but': 0.36; 'there': 0.36; 'to:addr :python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'files': 0.38; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'provide': 0.61; 'charset:windows-1252': 0.62; 'information': 0.63; 'within': 0.64; 'received:172.16.1': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=+JemMckUEdHwRblll/yEfGTNe7NDDyWpfar7YX5pc/o=; b=i2e6JctcAOy5b2AbLaghLdAMKsOwCROSZdVOX48g+t6Kuk/dha/eR9sgdUB7B0YAK/ ImBH7u0zE5TRA/ke9ij+4HAXnYYRCCDpD8WzCu48uCoeQ5o0l9u/A7WoB9RPhWlMW8UP 2wt8wYHS6C4C7Jhnriq6GNj1qQZwVy4qI4rteRcB6r2ZoK3V1nogzFjL/qgu+a4ThN3V DIzTUJs84M6H8wi0mXM7XdBOpj4k0CnR+8R9YIAqN9lcrsoHsAeRfjNEH9tdGwYZRGtM oq2fW8ohKg0gLr4IJBD2zMdmWl1hJkglNuCJ9NI7AeWehLw2pt4CW17UOXdwz4Zhf9cK 1PcA== X-Received: by 10.194.235.138 with SMTP id um10mr42798690wjc.91.1450283082831; Wed, 16 Dec 2015 08:24:42 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100517 On 16/12/2015 14:18, Ulli Horlacher wrote: > Is there an alternative to Tk's askopenfilename() and askdirectory()? > > I want to select a files and directories within one widget, but > askopenfilename() let me only select files and askdirectory() let me only > select directories. > > I guess it would help if you could provide some information on your use case and what you want to achieve ;) Lorenzo.