How to print an image in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to print an image in python?

29th Aug 2019, 1:23 PM
sujay simha
sujay simha - avatar
8 Answers
+ 4
can you give me an example ΛM!N?
29th Aug 2019, 1:46 PM
sujay simha
sujay simha - avatar
+ 4
Thank you ΛM!N
29th Aug 2019, 1:54 PM
sujay simha
sujay simha - avatar
+ 4
but why is it showing an error when i run it in sololearn?
29th Aug 2019, 1:58 PM
sujay simha
sujay simha - avatar
+ 4
oh... thanks by the way!
29th Aug 2019, 2:03 PM
sujay simha
sujay simha - avatar
+ 3
i mean the output of the code should be an image and thank you!
29th Aug 2019, 1:44 PM
sujay simha
sujay simha - avatar
+ 2
I can't get what you mean by printing, but you can open and render images with Pillow(PIL) library.
29th Aug 2019, 1:43 PM
ΛM!N
ΛM!N - avatar
+ 1
Sololearn's python interpreter does not support rendering.
29th Aug 2019, 2:03 PM
ΛM!N
ΛM!N - avatar