eBook Review: Python High Performance Programming
Last year, Packt Publishing asked me to be a technical reviewer for a book called Python High Performance Programming by Gabriele Lanaro. It was published in December, 2013. For those of you with...
View ArticleANN: Python 101 – The Book!
My readers have been asking me to write a book for a few years now and I’ve finally decided to bite the bullet and give it a go. For my first book, I decided to write something that’s for beginners...
View ArticlePython 101: Book Outline
I’m sure some of you have been wondering if I had a more concrete outline of the book that I am currently writing. As a matter of fact, I do. Here’s what I have so far: Part One: Learning the Basics...
View ArticlePython Concurrency: An Intro to Threads
Python has a number of different concurrency constructs such as threading, queues and multiprocessing. The threading module used to be the primary way of accomplishing concurrency. A few years ago,...
View ArticlePython 101: Reading and Writing CSV Files
Python has a vast library of modules that are included with its distribution. The csv module gives the Python programmer the ability to parse CSV (Comma Separated Values) files. A CSV file is a human...
View ArticlePython 101 Book: Behind the Scenes – The Cover
I had a lot of ideas for the cover of Python 101. My first idea was to go to the zoo and take some photographs of Pythons there, then pick the right one stick that on the cover. I have a lot of photo...
View ArticlePython 101 – Writing Update
It’s time for another update! I want to apologize for not writing sooner, but I’ve been without internet for several days and I’m writing this from my phone. I just wanted to let you all know that...
View ArticlePython 101 – We’re Halfway Through the Campaign!
This is an update on the Kickstarter campaign I am running in support of my Python 101 book: We made it halfway through the campaign and I think we’re going to reach our first stretch goal! Speaking...
View ArticlewxPython: How to Disable a Wizard’s Next Button
The other day someone was asking a lot of questions on StackOverflow about how to work with wizards in wxPython. You can read the two original questions here and here. The code we’ll be looking at in...
View ArticleeBook Giveaway – Tkinter GUI Application Development
There’s a Python book contest going on over on the Bite Sized Python Tips blog. You can get one of 3 copies of the book Tkinter GUI Application Development by Bhaskar Chaudhary. I reviewed this book...
View ArticleReportlab: How to Create Custom Flowables
Reportlab is a very flexible PDF creation package for Python. You can layout your documents using absolute positioning or by using Flowable objects, such as a Paragraph, a Table or Frame. You can even...
View ArticlePython 201: Decorators
Python decorators are really cool, but they can be a little hard to understand at first. A decorator in Python is a function that accepts another function as an argument. The decorator will usually...
View ArticlewxPython: Catching Exceptions from Anywhere
The wxPython Google Group was discussing different methods of catching exceptions in wxPython the other day. If you use wxPython a lot, you will soon realize that some exceptions are difficult to...
View ArticlePython 101 – Book Sample
We only have five more days before the end of the campaign, so I thought it would be nice to share a couple chapters from the book. You can download the introduction along with chapters 1 and 2 here....
View ArticlePython 101 Book Website Launched
Over the weekend, I finished setting up a website for my upcoming book, Python 101. I discovered that www.python101.com is owned by squatters, so I got www.python101.org instead. It will redirect to...
View ArticleKivy App Contest 2014
Kivy is an open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. The Kivy organization is organizing its second...
View ArticlePython Testing with doctest
Python includes a couple of modules for testing in its standard library: doctest and unittest. We will be looking at doctest in this article. The doctest module will search for pieces of text in your...
View ArticlePython 3.4 Released Today!
Python 3.4 released today (2014-03-17) and includes a lot of neat stuff. According to the Python Insider, these are the major changes / additions: PEP 428, a “pathlib” module providing object-oriented...
View ArticlePyhon 101 Book Writing Update #2
There are under 2 days left in the book campaign! I think that’s pretty exciting. I hope you do too! I’ve been busy writing the new Part 3 lately. I only have two more chapters to go before it’s done....
View ArticlePython 101: An Introduction to Python’s Debugger
Python comes with its own debugger module that is named pdb. This module provides an interactive source code debugger for your Python programs. You can set breakpoints, step through your code, inspect...
View Article