Almost any computer power user will want to use keyboard shortcuts (AKA: accelerators) to get their work done. Fortunately for us, wxPython provides a way to accomplish this very easily using an Accelerator Table via the wx.AcceleratorTable class. In this article we will look at a couple examples to see how this is accomplished.
November 20, 2010 by
Mike Last time, we looked at one of Python's built-in XML parsers. In this article, we will look at the fun third-party package, lxml from codespeak. It uses the ElementTree API, among other things. The lxml package has XPath and XSLT support, includes an API for SAX and a C-level API for compatibility with C/Pyrex modules. […]
November 12, 2010 by
Mike If you're a long time reader, you may remember that I started programming Python in 2006. Within a year or so, my employer decided to move away from Microsoft Exchange to the open source Zimbra client. Zimbra is an alright client, but it was missing a good way to alert the user to the fact […]
Packt Publishing gave me an ebook copy of their brand new book, MySQL for Python by Albert Lukaszewski. I'll be working on reading through that this month and will hopefully have a review for all of you to read before December. They also gave me this link to a free chapter. Feel free to read […]
If you're new to wxPython but not new to XML, you might find this article useful to you. Why? Because wxPython supports XRC, an XML file format that describes the GUI in XML, duh. In fact, wxPython's Documentation & Demos package includes an editor just for creating and manipulating these files that is called, XRCed. […]
A couple of months ago at work, we received a report that a file was locked. The dialog that appeared showed the initials of a user who wasn't even working for us any more. Thus we discovered an annoying bug that can crop up with Office. Basically, a user is asked by Word or Excel […]