@DuncanVaughan5/

Python Pictures Import-2

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
#img  = Image.open(path)    
# On successful execution of this statement,
# an object of Image type is returned and stored in img variable)
from PIL import Image
 
try: 
    img  = Image.open("thonk.png") 
except IOError:
    pass