Vuyisile

PyCon Africa Recap

In August 2019 I attended PyCon Africa in Ghana. I enjoyed the conference a lot because I got to meet many people I had only seen online. I wrote a re-cap article on Real Python about the conference and some of the talks I attended. You can read the article on Real Python.

Working with the requests library

The requests library is one of the most popular Python libraries available. In this article, you’ll learn how to use requests to fetch resources from the web and also to interact with websites.

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 …

PyCon Africa Day 1 Read More »

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

Python hasattr() Function Read More »