Posts by Khushi Aswani

Author Biographical Info: Python programmer who is also interested in content writing.

How to add placeholder to an Entry in tkinter – Python

By Khushi Aswani

In this tutorial, we will discuss how to add a placeholder to an entry widget in Tkinter. A placeholder is nothing more than a hint about what to write on an Entry widget, you migh.... Read More

Set default text for a Tkinter Entry widget in Python

By Khushi Aswani

This tutorial will discuss how to set the default text in Tkinter Entry Widget in Python. The default text is the text inside the entry widget when we want some text as default tex.... Read More

Set Height and Width of Tkinter Entry Widget in Python

By Khushi Aswani

In this tutorial, we will discuss setting the height and width of an entry widget in the Tkinter library in Python. A Tkinter library is a GUI package containing various elements l.... Read More

Customization of Ticks in Matplotlib.pyplot

By Khushi Aswani

In this tutorial, we will discuss the customization of ticks in matplotlib.pyplot which clearly means to modify or customize the ticks in the way we want to. Ticks are values that .... Read More

Actual purpose of exec() in Python

By Khushi Aswani

In this tutorial, we will discuss exec() in Python, which is responsible for the dynamic execution of a string or an object. Syntax for exec() exec(object[, globals[, locals]]) obj.... Read More

How to count number of binary strings without consecutive 1’s in Python

By Khushi Aswani

In this tutorial, we will focus on counting the number of binary strings that do not consist of consecutive ones in the binary format in Python. Let’s use an example for a be.... Read More

Python Program To Print Floyd’s Triangle

By Khushi Aswani

In this tutorial, we will have a look at a similar program to pattern printing which is commonly known by the name Floyd’s triangle in Python. It is undoubtedly a very common.... Read More

How to use numpy genfromtxt in Python with examples

By Khushi Aswani

In this tutorial, we will be learning how to use numpy genfromtxt in Python with some basic and simple examples. This tutorial is based on importing the CSV file in Python when we .... Read More

Related Posts