#python
Read more stories on Hashnode
Articles with this tag
If you haven't encountered it already, note that zip is quite handy in Python. It allows you to go through multiple iterables (such as lists, sets,...
One of the important programming patterns is the decorator pattern. What do decorators do? They modify a function's behavior, allowing us to enhance...
Have you ever used partial functions? It's an interesting functionality that can be found in the functools package. It's pretty straightforward - you...
Do you work with Python comprehensions in your day-to-day? Comprehensions are a straightforward way to create lists, sets, dictionaries and generators...
One thing you might encounter in Python are the "dunder" (because of the double underscore before and after their name) or "magic" methods, because...
Ever encountered the with statement? I've seen them around lots of times, but once, when asked about Context Managers during an interview, I didn't...