Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Dennis Lee Bieber Newsgroups: comp.lang.python Subject: Re: Key Binding Problem Date: Fri, 25 Mar 2016 12:50:37 -0400 Organization: IISS Elusive Unicorn Lines: 71 Message-ID: References: <06adnbnMouHI027LnZ2dnUU7-XednZ2d@giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de BxdwiSJpWERFfz6TU3kuAAMLB9+KIYDo73Z+ZJ0xHTnw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'handler': 0.04; 'definitions': 0.07; 'executable': 0.07; 'exit': 0.07; 'rewrite': 0.07; 'seemed': 0.07; 'scripts': 0.09; 'advice.': 0.09; 'form?': 0.09; 'ide': 0.09; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spawn': 0.09; 'timestamps': 0.09; 'python': 0.10; 'file,': 0.15; 'thu,': 0.15; '"python': 0.16; '(there': 0.16; '2016': 0.16; 'basic.': 0.16; 'builders': 0.16; 'display,': 0.16; 'eclipse': 0.16; 'emulation': 0.16; 'flavors': 0.16; 'installer.': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'screen,': 0.16; 'something.': 0.16; 'subject:Problem': 0.16; 'app': 0.16; 'looked': 0.16; 'drawing': 0.18; 'frameworks': 0.18; 'url:home': 0.18; 'gui': 0.18; 'programmer': 0.18; 'shell': 0.18; 'language': 0.19; 'library': 0.20; 'windows': 0.20; '(the': 0.22; 'do.': 0.22; 'meant': 0.22; "aren't": 0.22; 'bit': 0.23; 'help.': 0.23; 'tutorials': 0.23; "i've": 0.25; "doesn't": 0.26; 'command': 0.26; 'header:X -Complaints-To:1': 0.26; 'earlier': 0.27; 'external': 0.27; 'separate': 0.27; 'transition': 0.27; 'went': 0.28; 'actual': 0.28; '-0500,': 0.29; 'assembly': 0.29; 'pep': 0.29; 'references.': 0.29; 'referencing': 0.29; 'windows,': 0.29; 'excel': 0.29; 'tutorial': 0.29; 'code': 0.30; 'mention': 0.30; 'task': 0.30; 'another': 0.32; "can't": 0.32; 'core': 0.32; 'included': 0.32; 'non': 0.32; 'builds': 0.33; 'picking': 0.33; 'utility': 0.33; 'definition': 0.34; 'file': 0.34; 'list': 0.34; 'gets': 0.35; 'python.org': 0.35; 'next': 0.35; 'could': 0.35; 'text': 0.35; 'c++': 0.35; 'skip:> 10': 0.35; 'templates': 0.35; 'express': 0.35; 'but': 0.36; 'project': 0.36; 'instead': 0.36; 'there': 0.36; 'lines': 0.36; '(and': 0.36; 'basic': 0.36; 'loaded': 0.36; 'visual': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'display': 0.37; 'received:org': 0.37; 'pdf': 0.37; 'release': 0.37; 'charset:us- ascii': 0.37; 'stuff': 0.38; 'anything': 0.38; 'several': 0.38; 'files': 0.38; 'data': 0.39; 'sure': 0.39; 'application': 0.39; 'real': 0.62; 'back': 0.62; 'skip:n 10': 0.62; '2000': 0.63; 'export': 0.63; 'youtube': 0.63; 'complete': 0.63; 'mar': 0.65; 'capture': 0.66; 'python-list': 0.66; 'wanting': 0.66; 'here': 0.66; 'natural': 0.67; 'websites': 0.71; 'designers': 0.72; 'pleasure': 0.79; 'hand': 0.82; '2012:': 0.84; '>with': 0.84; 'now...': 0.84; 'recall,': 0.84; 'start.': 0.84; 'text-based': 0.84; 'texts,': 0.84; 'vb.net,': 0.84; 'vb6,': 0.84; 'edition': 0.86; 'ages': 0.91; 'dennis': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: adsl-108-73-117-233.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 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:105695 On Thu, 24 Mar 2016 23:37:54 -0500, Wildman via Python-list declaimed the following: > >Coming from VB6, it seemed the natural thing to do. > Have you ever looked at a module/form file using a Non VS editor? Where you can see the actual text definition of the form? Visualize writing ~2500 lines of such form definitions by hand -- and some 2000 lines of corresponding C code referencing it. That was the DECWindow UIL file for that graphics application I mentioned. Oh -- and it was just for ONE "window" with a few utility menus (the graphics emulation was just that -- a display app that other applications sent drawing commands to). That was back in 1990. I couldn't rewrite the real application as it was a text-based form handler (the main executable read a data file that had templates for each data screen, and a definition of the fields on the screen, a list of sub-applications and which screens applied to them -- and when one said "go" to a sub-application it would spawn a new program that did just the one number-crunching task sending drawing commands to the display, then exit so one could pick another sub-application for the next bit of display work; would have required a complete rewrite into a single huge executable in order to directly drive windows, instead of using sub-applications that were loaded on demand) Since there aren't any real GUI designers for Python (there are some that generate a layout file, but they are also specific to particular frameworks so picking one gets contentious). > >I am a hobby programmer so I do this just for the pleasure of >creating something. I started with 16bit assembly back in the >day and from there went to various flavors of BASIC including >PowerBASIC and Visual Basic. Never made the transition to .net. >Didn't see a need. I have yet to find anything that I can't do >with Classic VB6 that I want to do. > I used to have a paid edition of VB6, but now live with (and don't use) Visual Studio Express releases (2010: where VB.net, C#, and C++ were each separate IDEs; 2012: all three in one master; as I recall, there had been some controversy that M$ didn't want to release a new VS for Windows 7 and earlier -- wanting to focus on the "app" style of Windows 8) My work doesn't use them... Some have used it for data-analysis stuff but the core work is either Ada or C (VxWorks-based) -- so again no GUI builders and barely anything in the way of an IDE (one project used Eclipse for editing, but still invoked external shell scripts to drive the build system). I've used Python for data-analysis stuff (ugliest being a program to take a pair of Wireshark capture files [sent packets on NIC-a, received packets on NIC-b], match up the data and write a database with the sent/received timestamps and packet ID... then export the database for use in Excel plotting. All command line driven... > >Good advice. I have found some good tuts on Youtube for Python >and Tk. That gave me a good start. And I have several websites >bookmarked for other tutorials and references. Plus that several >knowledgeable people right here who are willing to help. When I mention "Python Tutorial" I meant the document that used to be included with any Python installer. It was a PDF file ages ago, not sure what Python.org uses now... I've used ActiveState builds for decades now, and they include the tutorial in a Windows Help file that contains all the standard documentation (Tutorial, Language Ref, Library Ref, a lot of the PEP texts, additional stuff). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/