How do you get a png image file on to python on mobile | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you get a png image file on to python on mobile

16th Feb 2020, 10:40 PM
Nicolas okiokpa
Nicolas okiokpa - avatar
3 Answers
+ 4
install python-pip from PIL ( pillow package ) import Image try: img = Image.open(path) except IOError: pass
16th Feb 2020, 11:22 PM
BroFar
BroFar - avatar
+ 1
Thanks
16th Feb 2020, 11:23 PM
Nicolas okiokpa
Nicolas okiokpa - avatar
16th Feb 2020, 11:29 PM
BroFar
BroFar - avatar