In Python, to make a shallow and deep copy, use the copy() method of lists list, dictionaries dict...
Category - Python
Get image size (width, height) with Python, OpenCV, Pillow (PIL)
Python has a library that handles images such as OpenCV and Pillow (PIL). Here, the method of...
How to get the size of an image in Python
Getting the size of an image with the Python Image Library (PIL) returns its width and height in...
Pattern printing Floyd Triangle in Python (Ascending and Descending Orders)
Write a program to print Floyd’s triangle number pattern in python language( Ascending and...
Python program to enter the length in centimeter and convert it into meter and kilometer
Python program to enter the length in centimeter and convert it into meter and kilometer. There are...
Python program to enter the radius of a circle and find its diameter, circumference, and area
Python program to enter the radius of a circle and find its diameter, circumference, and area...
Butterfly Pattern in Python language of the numbers using for loop
In this article, you will learn how to print the Butterfly Pattern in Python language of the...
Reading and saving image files with Python, OpenCV (imread, imwrite)
In Python and OpenCV, you can read (load) and write (save) image files with cv2...
Python Program to Display Numbers from 1 to 10 Using For Loop
This is a Python Program to Display Numbers from 1 to 10 Using For Loop. We use For Loop in which...
How to resize tkinter window
In this post you will learn how to resize tkinter window. Python Code: import tkinter window =...
How to Print Something with Label in Tkinter
In this simple post I’ll show you how to print something with tkinter. Python code: #tested...
How to Make a Tkinter Window
In this post I’ll show you how to make a tkinter window. Example 1: how to create a tkinter...
How to Make a Tkinter Window Fullscreen
In this example you will learn to set window size to fullscreen in Tkinter. Other python tkinter...