Interview With Ewa Jodlowska, PSF Executive Director

An interview with Ewa Jodlowska, Executive Director of the Python Software Foundation. We talk about the PSF, insights from the Python Developer Survey and more.

 

Custom template tags in Django

Learn how you can extend the Django template engine by defining custom template tags using Python, and then make them available to your templates using the {% load %} tag.

 

PyCon Africa Day 1

Thursday August 9 2019 was the second day of PyCon Africa in Accra. About 17 talks were delivered, including two keynotes. Below you’ll find a quick summary of the talks I attended. The pictures in the post aren’t great because they were either taken from a bad angle or using a smartphone. I’ll update this … 

 

Creating and updating records using Django’s database API.

This article covers 6 common methods found in the Django Database API for creating, retrieving, and updating records.

 

Python hasattr() Function

A useful built in function in Python is hasattr(). This function is used to test if an object has some attribute. hasattr() returns True if the object you specify contains a particular attribute and False if it does not. hasattr() syntax: hasattr() takes two parameters: object. The object whose attribute you want to check attribute. … 

 

How I started contributing to Open Source and stopped buying t-shirts

In this post, I am going to go down memory lane and talk about my contributions to one of the open source communities I contribute to: Mozilla.

 

Django static page

In this article you’ll learn how to create a Django website with a static page using Function Based Views and Class Based Views.

 

Check number of lines by user in git

Learn how to count the number of commits or number of lines a contributor has added to a git repository.

 

Switch/Case In Python

Python does not have a switch or case statement. See how to use dictionaries to emulate them.

 

How to attain Inbox Zero

See how to clear out your email inbox and bring the “Unread” count to zero.