How to insert image in Python | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 4

How to insert image in Python

Give me answer please

16th Sep 2020, 8:30 AM
Aman tanwar
3 Antworten
+ 10
Install PIL(Python Image Library) : then: from PIL import Image myImage = Image.open("your_image_here"); myImage.show();
16th Sep 2020, 8:33 AM
👑FabVab👑
👑FabVab👑 - avatar
+ 5
IDK what do you mean by inserting but you can open and show images using pillow library: from PIL import Image with Image.open('IMAGE PATH') as img: img.show()
16th Sep 2020, 8:34 AM
Bagon
Bagon - avatar
+ 2
Thanks
16th Sep 2020, 8:34 AM
Aman tanwar