If you have followed this blog for a while, you may remember that we've covered several XML parsing libraries that are included with Python. In this article, we'll be continuing that series by taking a quick look at the ElementTree library. You will learn how to create an XML file, edit XML and parse the […]
When I was a kid, I was really into secret codes and ciphers. I thought they were all kinds of fun. My mom thought it would be fun to use some of the ciphers I was so enamored with in treasure hunts for special occasions, like birthdays. She would take something like a Cryptograph Wheel […]
I recently received my copy of Real Python by Fletcher Heisler and just finished reading it. I got it as a bonus from a recent KickStarter campaign for the sequel to the book, Real Python for Web Development which is actually written by someone else. You can go to the book's website to purchase the […]
The PySide GUI toolkit for Python has several standard dialogs and message boxes that you can use as-is. You can also create custom dialogs, but we'll be saving that for a future article. In this post, we will cover the following dialogs: Color Dialog File Dialog Font Dialog Input Dialog Print & Print Preview Dialogs […]
I had heard about the Python Brochure Project last year but was under the impression that it was for corporations at that time as it seemed that you had to purchase them. It looked really good, but since I wasn't a corporation and couldn't buy them in bulk, I didn't give it too much thought. […]
As I learn PyQt and PySide, I am writing some tutorials to help my fellow travelers. Today we'll be looking at how to connect multiple widgets to the same slot. In other words, we'll be binding the widgets signals (basically events) to slots (i.e. callables like functions, methods) which are better known as "event handlers". […]