Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Everything good about Python except GUI IDE? Date: Sat, 27 Feb 2016 23:07:40 +1100 Lines: 20 Message-ID: References: <64a6599c-fae1-469d-bcee-875165b3cc7d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de Rx41+L2DeboBp+8NRYvdVAxctmgalSvtrmSq23tlLTDQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'ide': 0.09; 'iterate': 0.09; 'loop.': 0.09; 'objects.': 0.09; 'python': 0.10; '2016': 0.16; 'drag': 0.16; 'dropping': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ides': 0.16; 'labels,': 0.16; 'line)': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reusable': 0.16; 'subject:GUI': 0.16; 'wrote:': 0.16; '(in': 0.18; 'creates': 0.18; 'gui': 0.18; 'input': 0.18; 'thanks.': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'object.': 0.22; 'code,': 0.23; 'feb': 0.23; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.27; 'object,': 0.27; 'function': 0.28; 'code"': 0.29; 'lies': 0.29; 'creating': 0.30; 'code': 0.30; "can't": 0.32; 'utility': 0.33; 'list': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'text': 0.35; 'label': 0.35; "isn't": 0.35; 'step': 0.36; 'but': 0.36; 'too': 0.36; 'there': 0.36; 'lines': 0.36; 'received:209.85': 0.36; 'visual': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'associated': 0.38; 'received:209': 0.38; 'drop': 0.38; 'several': 0.38; 'easily': 0.39; 'takes': 0.39; 'some': 0.40; 'hope': 0.61; 'more': 0.63; 'worth': 0.67; 'sounds': 0.76; 'chrisa': 0.84; 'here...': 0.84; 'subject:good': 0.84; 'to:none': 0.91; 'boxes,': 0.91; 'hundred': 0.96 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; bh=EEGuirqm0lwLwiFbeuwCmuHHd+JOkWYD7RHh1NeNC+Y=; b=bw0mgMy+gfjbnfpp/ZAI+QUojK9+QDK57wIlpa9IQG3IEWu0Vfsp03LRrb18I2ydZZ Lx6koOj4Vp8xqPqJdrP8gjWym3i6GvYdagA24v0sJJ9/ul/ONDqeemhtw3dwU4noYwTc nsDDIQqWoQbQdZBwzKkwMrpE/icRigiqQ4qOiz45muumCMX1XtosRrC3FBHXLE34GFJh T/xJ7joH/9IT58C2iRH0v7proCXuY1LHMdR0Ew+RBeQTuw0/IGc3upZOUEfgyR+GozZi 7ZV0MzKStb4qO7YUx3NlQuPsUCcwESqX2n88o0ptbwvgxTkhvAZSpkgy+vCbXSO9kCat nrKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=EEGuirqm0lwLwiFbeuwCmuHHd+JOkWYD7RHh1NeNC+Y=; b=Hogu21zdwUKFdI1ZjVDJwRHXL3qlKPIPc2GurqXdwoMN3018Xpaxf0Y22YldEdcSQs jPk7HTIodFmMxVUmrZIgCoE8gSjSGyh3hZTTGK6p7o/5vURn3ourxtgcdRcFnWafLnsn U6EsYohB3onA6C9Uap0SqyIK7KCZMYqtEd/59MmWDDgFUHGzjOvtuxAwTEf12RCAqApt JTPoWWz1XI2lY+bRBsK9RK6z2Gb/gF/XUbHOUfAg/wkFUVi3vb90yKWHkwtGu7XzrXC9 inA8hDnThnMVtR9oCaxWlDyIjMKxIdwzrBE8auNLuZA/7Avo9qgjxEfTlK9Kyq3aqQps z+Gw== X-Gm-Message-State: AD7BkJLzaDSrB3LDCK1jhqupLl8JcGNZcncbYlSP/RDBMOwOwSzP7DDeGcrshXPwWIGMXosByO1W+OxUBYOppw== X-Received: by 10.107.63.137 with SMTP id m131mr1533828ioa.157.1456574860121; Sat, 27 Feb 2016 04:07:40 -0800 (PST) In-Reply-To: <64a6599c-fae1-469d-bcee-875165b3cc7d@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 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:103581 On Sat, Feb 27, 2016 at 10:18 PM, wrote: > I have some VB forms with more than a hundred objects. If I cannot drag and drop text boxes, list boxes, labels, etc., it will be too much work to create that with several lines of code for each object. > > Isn't there any good GUI IDE like Visual Basic? I hope there are some less well known GUI IDEs which I did not come across. Thanks. Sounds like the advantage lies with Python here... Don't make a UI by dragging and dropping that many widgets. If it takes "several lines of code" for each object, it might be worth creating a utility function. For example, a database form might include a good number of fields with associated labels; you could create a function that creates (in a single line) a label and its input field. Or create a list and iterate over it, creating all the widgets as you step through the loop. That's the advantage of code - you can't easily create reusable 'clumps' with a drag-and-drop builder, but in code, it's the exact same thing as any other form of code reuse. ChrisA