Bhutanese have their own type of calendar similar to the Tibetan lunar calendar. If you own a website or a blog and wish to add a Bhutanese calendar to give…
The current century is the century of the advent of many new technologies and innovations. To name a few: Wired connections are becoming wireless; Paper-works are becoming paperless; Cash transactions…
Difference Between yield and return in Python: A yield statement is used to define generators in Python. The yield statement suspends execution of a function. Then sends a value back…
Android: Your CPU does not support VT-x: If you have installed Andriod Studio and if you are trying to create virtual device(s) on an AMD processor-based laptop, most probably the…
How to install Docker in Ubuntu 18.04: Docker is containerization application. Containers are platforms that let you run your applications in resource-isolated processes. Unlike virtual machines that you create in…
Ways to Swap 2 Variables in Python: In computer programming, the act of swapping two variables refers to mutually exchanging the values of the variables. For example, if a = 5 and b = 6,…
What does if __name__ == “__main__”: do? The best answer I found after searching for it in Google was in StackOverFlow. According to it, whenever the Python interpreter reads a…
With Yagmail, sending e-mail using a Python program is easier than ever before. Yagmail – Yet Another Gmail/SMTP Client is a user-friendly API that simplifies the process of sending emails. In…
Python provides several ways to format strings. These different ways have their own advantages and disadvantages. Python 3.6 and above come with another method of string formatting (formally termed as…
Sorting is a very common problem that many programmers may come across. Like any other programming languages, Python has its own built-in sorting methods. These sorting methods are sort() and…