How do you get a png image file on to python on mobile | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
+ 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