+ 4

How to insert image in Python

Give me answer please

16th Sep 2020, 8:30 AM
Aman tanwar
3 odpowiedzi
+ 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