Generation

generate functionWed, 29 Mar 2023

display a PNG image

from PIL import Image def display_png(filename): img = Image.open(filename) img.show() display_png('coffee.png')

Want to kickstart your project?Use the new AI Studio to create your code