Python Program to Send Emails Using Yagmail

Sending mail using yagmail

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 this post, I am going to share how to use yagmail, the API described above. If you want to read the full documentation of this …

Python Program to Send Emails Using Yagmail Read More »

What the F*** is F-string in Python

F-strings in Python

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 string interpolation) known as f-strings” or Formatted string literals PEP 498. I knew about it recently while working on a Kattis problem with a friend.  …

What the F*** is F-string in Python Read More »

Differences between sort() and sorted() in Python

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 sorted(). In this post, I will share the differences between these two methods and how these can be used in programs. I found these methods …

Differences between sort() and sorted() in Python Read More »

How to use Switch Case Statements Python

Python Switch Case Statements

Unlike many programming languages, you may know like Java and C, Python does not support switch case construct. I came to know about this while converting a Java program to Python program from a git repository. In this post, I am going to share how to implement switch case problems in Python so that you …

How to use Switch Case Statements Python Read More »

BT’S Customers NOT Happy with its Different USSD Codes?

Earlier today Bhutan Telecom LTD. shared about the two different USSD codes for checking voice and data balances on their Official Facebook Page. The post also ‘declared’ several other USSD Codes for different purposes. The Post Reads As Dear Customers, You can now use following USSD codes for both postpaid and prepaid : 1. *170# …

BT’S Customers NOT Happy with its Different USSD Codes? Read More »

8 Best Ways to Reduce Your Mobile Internet Data Usage

8 ways to reduce data usage

How much data your devices use is not based on how long they are connected to the Internet but the amount of data transfer (upload or download). We live in an era where Internet connectivity is inevitably a part of our lives but often it is not free. Mobile devices with great processing power and storage …

8 Best Ways to Reduce Your Mobile Internet Data Usage Read More »

Why Not to Uninstall or Remove Python from Raspbian OS

Python comes installed along with many flavors of Linux. For Raspbian Operating System (OS), like some other Linux-based OSes, both Python 3 and 2.7 comes installed by default. Raspbian OS is a light-weight operating system for Raspberry Pi, a credit card-sized mini-computer which has the capability to be used as a desktop computer too. Recently, …

Why Not to Uninstall or Remove Python from Raspbian OS Read More »