Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'package,': 0.03; 'subject:Python': 0.06; 'tkinter': 0.07; 'default.': 0.09; 'escape': 0.09; 'sanity': 0.09; 'python': 0.11; 'gui': 0.12; 'suggest': 0.14; '2.7': 0.14; '24,': 0.16; 'be:': 0.16; 'noble': 0.16; 'portable': 0.16; 'subject:GUI': 0.16; 'subject:desktop': 0.16; 'folks': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'possible,': 0.19; 'projects,': 0.19; 'thu,': 0.19; 'platforms': 0.22; 'cc:addr:gmail.com': 0.22; 'separate': 0.22; 'to:name :python-list@python.org': 0.22; 'creating': 0.23; 'cc:2**0': 0.24; "i've": 0.25; 'distribute': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'included': 0.31; 'easier': 0.31; 'serve': 0.31; 'subject:next': 0.31; 'wind': 0.31; 'interface': 0.32; "can't": 0.35; 'advice': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'revert': 0.36; 'transition': 0.36; 'next': 0.36; 'requirements': 0.37; 'project': 0.37; 'to:addr:python-list': 0.38; 'that,': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'future': 0.60; 'most': 0.60; 'hope': 0.61; "you're": 0.61; 'first': 0.61; 'back': 0.62; "you'll": 0.62; 'kept': 0.65; 'biggest': 0.67; 'jul': 0.74; ':).': 0.84; 'subject:Project': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=pvPQw3Mx/LFZGT+4pXNIds+zlYUkai9VudCHtFICO/E=; b=XzN6lTTrie/9TiHKEkanNwWwGswWKd3aUwwCqZJclditn6+hkRIrmMuRt6eu7gVgPH dFwZR4HUMVgJN03H1kNfbPObMOqKmPw+QGLcsgYlL5wUXDaib6ykXMy07MiMfo/0lwvG KYLGXVewKJrUUc1HmN595t7gXO3C6spdnaCK4k05TU4zxTR41ZjhbIgfPLm7lp8eBEtr elPTU9+x87AeSkOD3P/JQm2l2HYkr5ZjGbISBhhN7tZA+IL95E49WywvnjgcGJS1SJwt nSRNO2erZQIJT0HAL0Bh3PkfKmTPKHFEan98xOgRS4YK+eoSWNW2jTgJ1Sk3NE5Hl7vi 8qOA== X-Received: by 10.182.121.170 with SMTP id ll10mr14898019obb.58.1406218991024; Thu, 24 Jul 2014 09:23:11 -0700 (PDT) MIME-Version: 1.0 Sender: zachary.ware@gmail.com In-Reply-To: <93c42547-557b-4839-baba-9ed54120595e@googlegroups.com> References: <93c42547-557b-4839-baba-9ed54120595e@googlegroups.com> From: Zachary Ware Date: Thu, 24 Jul 2014 11:22:50 -0500 X-Google-Sender-Auth: rV_GjwgMB9SVkXqcF0VI0i0jbe0 Subject: Re: Exploring Python for next desktop GUI Project To: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Cc: Noble Bell 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1406218994 news.xs4all.nl 2873 [2001:888:2000:d::a6]:58363 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75147 On Thu, Jul 24, 2014 at 10:57 AM, Noble Bell wrote: > I am exploring the idea of creating my next desktop GUI project in Python and would like a little advice from you folks about a couple of requirements. > > My requirements will be: > 1. Needs to be portable across platforms with native LAF (Windows,Linux,OSX) The Python standard library includes the tkinter package, which is an interface to Tcl/Tk. The 'ttk' module provides themed/themable widgets that have the platform-native look by default. I've successfully used tkinter for a few projects, and have kept most of my sanity :). One of the biggest benefits to tkinter is that, since it is included with Python, so you don't have to distribute a separate GUI toolkit. > 2. Python 2 or 3? Which will serve me better in the future? Python 3 is the future of Python, but Python 2(.7) is still alive and kicking. I would suggest sticking to Python 3 if at all possible, but revert back to 2.7 (no farther! :) if you have dependencies that you can't escape that rely on Python 2. If you're just learning Python, learn with Python 3 before you start with Python 2, even if you'll wind up using Python 2. Python 3 is easier to learn in the first place, and it's easier to learn the transition from 3->2 than 2->3. Hope this helps, -- Zach