Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. import Image
  2. im = Image.open("example.jpg")
  3. print im.format, im.size, im.mode
  4. im.show()
  5.  
  6.  
  7.  
  8.  
  9. error
  10. $ python img.py
  11. Traceback (most recent call last):
  12. File "img.py", line 1, in <module>
  13. import Image
  14. ImportError: No module named Image
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement