Image Viewer App using Python || Python project || c4rcoding

preview_player
Показать описание
#python #pythonprojects #pythonprogramming #pythontutorial #pythonforbeginners #c4rcoding #tkinter

----------------Project Code-----------------

from tkinter import *
from tkinter import filedialog
import tkinter as tk
from PIL import Image,ImageTk
import os

def showimage():
img=ImageTk.PhotoImage(img)

root=Tk()
fram=Frame(root)
lbl=Label(root)

btn=Button(fram, text="Select Image", command=showimage)

btn2=Button(fram, text="Exit", command=lambda:exit())

#python #pythonprojects #pythonprogramming #pythontutorial #pythonforbeginners #c4rcoding #tkinter
Рекомендации по теме
join shbcf.ru