Dictionaries are another fundamental data type in Python. A dictionary is a key, value pair. Some programming languages refer to them as hash tables. They are described as a mapping object that maps hashable values to arbitrary objects. A dictionary's keys must be immutable, that is, unable to change. Starting in Python 3.7, dictionaries are […]
This week we welcome Abigail Mesrenyame Dogbe (@MesrenyameDogbe) as our PyDev of the Week! Abigail is active with the PyLadies organization in Africa and has also helped organize PyCon Africa. Abigail is also a fellow of the Python Software Foundation. Let's spend some time getting to know Abigail better! Can you tell us a little […]
Tuples are another sequence type in Python. Tuples consist of a number of values that are separated by commas. A tuple is immutable whereas a list is not. Immutable means that the tuple has a fixed value and cannot change. You cannot add, delete or modify items in a tuple. Immutable objects are useful when […]
Python is one of the most popular languages in the world. I have been using it myself for over a decade and am still constantly learning new things. Since so many people are stuck at home, I thought it might be a good time to do a book sale. Now is great time to learn […]
The original Python 101 was the first book I had ever written. In deciding to write a 2nd edition, I needed to decide what I should keep and what I should remove from the book. What I ended up doing was rewriting the book from the ground up. In the original book, Python 101 was […]
My Kickstarter for the 2nd Edition of Python 101 is ending in less than two days. If you want a signed copy or to purchase one of my other books for a discount, you should check out the Kickstarter as I have lots of good deals on there. Also, note that the 2nd Edition of […]