neil
This commit is contained in:
commit
85841d6522
|
@ -0,0 +1,5 @@
|
|||
bin
|
||||
include
|
||||
lib
|
||||
lib64
|
||||
pyvenv.cfg
|
|
@ -0,0 +1,12 @@
|
|||
from PIL import Image
|
||||
|
||||
def open_and_display_image(image_path):
|
||||
try:
|
||||
image = Image.open(image_path)
|
||||
|
||||
image.show()
|
||||
except Exception as e:
|
||||
print("Error:", e)
|
||||
|
||||
image_path = "neil.png"
|
||||
open_and_display_image(image_path)
|
|
@ -0,0 +1 @@
|
|||
pillow
|
Loading…
Reference in New Issue