Recommended resources for intermediate developers

In a previous article, I discussed resources that I recommend for beginners. In this post, I’ll cover a few intermediate Python books and websites. Python 201 by Michael Driscoll The first book in the list is Python 201 by Michael Driscoll. This is the book to read if you already know the basics of Python…… Continue reading Recommended resources for intermediate developers


Python command line interfaces: An overview of argparse.

Command-line or console applications are programs that are designed to be used via a text only interface such as the terminal. Command-line programs accept instructions or commands from their users in the form of flags or switches. Popular command-line applications include: git – A version control system Vim – A text editor and Grep -…… Continue reading Python command line interfaces: An overview of argparse.


An overview of the enumerate() function

According to the Python documentation, the enumerate function is a built in function that returns an enumerate object. Another popular article on the subject describes it as a function that allows you to “generate iterator element along with index”. I find these two definitions unclear. Here’s an explanation that makes more sense: the enumerate function…… Continue reading An overview of the enumerate() function

linux · Python

How to send desktop notifications in Linux.

Desktop notifications are used to inform the user about an event or display some form of information without getting in the user’s way. Notifications are usually small pop up windows that disappear after a short while. There are a number of ways to display notifications using Python, but most of these depend on some GUI…… Continue reading How to send desktop notifications in Linux.


Virtual environments in Python

In Python, a virtual environment is way of isolating a working copy of Python to test software or to install new packages without affecting existing packages. virtualenv is a tool used to create isolated Python environments. virtualenv is a useful tool for creating sandboxes or for installing packages locally without system administrator access and also…… Continue reading Virtual environments in Python


Working With Excel Spreadsheets using Python

Microsoft Excel is a popular application for Windows that is used to work with spreadsheets, tables and charts. Spreadsheets are used extensively in the business world to record budgets, create reports, manage inventory or perform calculations. Working on Excel tasks in your day to day work can be boring, mind-numbing and even daunting especially if…… Continue reading Working With Excel Spreadsheets using Python


How to install 3rd party python modules

Python follows a “batteries included” philosophy, which means that a lot of functionality you may need is built in to the language itself.Python developers have developed their own modules to extend Python’s capabilities even further. These third party modules are kept in the Python Package Index or PyPI which is similar to an app store…… Continue reading How to install 3rd party python modules