Dan Bader



Abstract Base Classes in Python

Abstract Base Classes (ABCs) enforce that derived classes implement particular methods from the base class. In this chapter you’ll learn about the benefits of abstract base classes and how to define them with Python’s built-in “abc” module.

→ Continue reading






Guessing a user’s favorite contacts on iOS

Many iOS applications contain an “invite your friends” feature. Ideally this feature should suggest people that the user is likely to invite. This article explains an App Store-legal method of guessing a user’s favorite contacts from their address book on iOS. The method is described in detail and a demo application is available for download.

→ Continue reading

Spell-checking LaTeX documents with aspell

LaTeX is a great way to create beautiful documents. But its embedded markup makes it difficult to check LaTeX documents for spelling errors. This article explains how to setup and use a program called aspell to spell check your LaTeX documents.

→ Continue reading

Some of the best content I post is email only. Join more than 3,000 other Python developers on my (free) weekly newsletter →

📰 Learn More »

Improve Your Python with a fresh 🐍 Python Trick 💌 every couple of days

🔒 No spam ever. Unsubscribe any time.