Mini Book Review: MySQL for Python
MySQL for Python By Albert Lukaszewski Amazon Packt
Mini Book Review: MySQL for Python Read More »
MySQL for Python By Albert Lukaszewski Amazon Packt
Mini Book Review: MySQL for Python Read More »
When I originally started this blog, it was mostly a brain dump on my part so I wouldn’t forget how I did something cool with Python. Later on, I decided to use it to also document what I considered under-documented portions of wxPython. If my posts drew enough interest, I would also re-work the post
wxPython Documentation Read More »
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.
wxPython: Keyboard Shortcuts (Accelerators) Read More »
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.
Python: Parsing XML with lxml Read More »
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
Python: Parsing XML with minidom Read More »
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
Working on a MySQL for Python Book Review Read More »
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.
wxPython: An XRCed Tutorial Read More »
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
Python: Changing Microsoft Office User Initials Read More »
One of my first self-imposed projects at my job was to recreate a certain annoying application that was a Frankenstein monster: a Microsoft Access file with a VBA GUI. For the most part, the application didn’t even have a database. Anyway, part of the application allowed the user to type in an amount for a
Python: Converting Numbers to Words Read More »
Earlier this year, I was tasked with creating an application that would download information from our organization’s website using Python. The tricky part was that it would be encrypted, gzipped and the payload would be JSON. Could Python do all that? Well, that’s what I wanted to find out. Now it’s time for you to
Downloading Encrypted and Compressed Files with Python Read More »
I’ve been working on an article about the various Python projects that took part in the 2010 Google Summer of Code for over a month. There are a lot of projects and people to contact and I would say of the ones that I did contact, only 50-60% responded back. So I’m going to go
Python and the 2010 Google Summer of Code Read More »
Just an FYI for those of you who like this blog. I have recently opened a Mouse Vs. the Python Twitter account to make it even easier to follow updates to this blog. You can find it here: http://twitter.com/mousevspython I am experimenting with WordPress plugins that can auto-post to Twitter, but haven’t had much luck
This Blog Gets a Twitter Account Read More »
The wxPython project is one of the most popular and easy to use Python GUI toolkit. It wraps the popular C++ wxWidgets project using SWIG. It is also the only cross-platform toolkit that I am aware of that uses the native widgets on each platform wherever possible (for better or for worse). Some like to
Whether you’re new to Python, been using it for a few years or you’re an expert, knowing how to use Python’s introspection capabilities can help your understanding of your code and that new package you just downloaded with the crappy documentation. Introspection is a fancy word that means to observe oneself and ponder one’s thoughts,
Python 101: Introspection Read More »
Update (10/12/2010) – One of my alert readers told me that SqlAlchemy 0.6.x currently does NOT support the Access dialect. Read here for more info. A year or two ago, I was asked to transfer some data from some old Microsoft Access files to our Microsoft SQL Server. Since I enjoy using SqlAlchemy, I decided
SqlAlchemy and Microsoft Access Read More »