How to insert image in Python | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 4

How to insert image in Python

Give me answer please

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