how to make a tkinter window transparent

Solutions on MaxInterview for how to make a tkinter window transparent by the best coders in the world

showing results for - "how to make a tkinter window transparent"
Giacomo
11 Jan 2020
1
2# Import module
3from tkinter import *
4 
5# Create object
6root = Tk()
7 
8# Adjust size
9root.geometry("400x400")
10 
11# Create transparent window
12root.attributes('-alpha',0.5)
13 
14# Execute tkinter
15root.mainloop()