Mundo em Python

Feliz dia do Pai

from tkinter import *
from PIL import Image, ImageTk
root = Tk()
root.geometry("550x600")
root.resizable(0, 0)
root.config(bg="#d9ead3")
root.title("Dia do Pai")
titulo = Label(text="Feliz dia do Pai ",
bg="#d9ead3", fg="#0b5394",
font=("Arial", "50", "bold"))
titulo.place(relx=0.08, rely=0.05)
img1=ImageTk.PhotoImage(Image.open("pai.png"))
l_3 = Label(bg="#d9ead3")
l_3.place(relx=0.08,rely=0.3)
l_3.config(image=img1)
root.mainloop()

pai.png


#img1

0