Python

Python 101 – Intro to XML Parsing with ElementTree

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

Python 101 – Intro to XML Parsing with ElementTree Read More »

PySide: Standard Dialogs and Message Boxes

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

PySide: Standard Dialogs and Message Boxes Read More »

PySide: Connecting Multiple Widgets to the Same Slot

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”.

PySide: Connecting Multiple Widgets to the Same Slot Read More »

PySide: Creating a Currency Converter

I am currently reading through Mark Summerfield’s book on PyQt, Rapid GUI Programming with Python and Qt and thought it would be fun to take some of the example applications in it and convert them to PySide. So I’ll be creating a series of articles where I’ll show the original PyQt examples from the book

PySide: Creating a Currency Converter Read More »

eBook Review: Treading on Python Volume 2: Intermediate Python

Last week, Matt Harrison sent me a copy of his latest Python eBook entitled Treading on Python Vol 2: Intermediate Python. I was intrigued since I rarely get to read Intermediate level Python books. In fact, I would say that some of the stuff that the author talks about goes into the advanced level. Anyway,

eBook Review: Treading on Python Volume 2: Intermediate Python Read More »

Reportlab – How to Create Barcodes in Your PDFs with Python

The Reportlab library is a great way to generate PDFs in Python. Recently, I noticed that it has the ability to do barcodes. I had heard about it being able to generate QR codes, but I hadn’t really dug under the covers to see what else it could do. In this tutorial, we’ll take a

Reportlab – How to Create Barcodes in Your PDFs with Python Read More »

PyDev Starts a Crowdsourcing Campaign on Indiegogo

Fabio Zadrozny, the primary developer behind PyDev has started a campaign on Indiegogo to fund continuing development of PyDev. In case you’re new to Python development, PyDev is a plugin for Eclipse that provides a nice Integrated Development Environment (IDE) for Python, Jython and IronPython in the Eclipse environment. You can read about why Fabio

PyDev Starts a Crowdsourcing Campaign on Indiegogo Read More »