Learn how to count the number of commits or number of lines a contributor has added to a git repository.
Python does not have a switch or case statement. See how to use dictionaries to emulate them.
See how to clear out your email inbox and bring the “Unread” count to zero.
Learn how to install Django and start a project.
Learn how to avoid repetition and write simpler and easy to read tests using the pytest parametrization feature.
Learn how to install pytest and use it to discover, run, and skip test functions.
PyCharm supports remote development. Learn how to set it up in this article.
Learn how to make git push to the same remote branch name.
Have you ever wondered how you can use Python to work with…
If you have ever felt confused when you came across code that contains *args and **kwargs as function parameters, you’re not alone. This syntax is used specify that a function can be called with any number of arguments and It can be very confusing at first. In this article, I explain what *args and **kwargs mean and how they can be used in function calls.