0
How to open Image?[Solved by Tibor Santa(Mentor)]
I saw that we can open and view image in Python and R. But I've a question why other shell languages don't support that feature on sololearn? my try, gives the error: https://www.sololearn.com/post/1729038/?ref=app Maybe Developers/Moderator know about this, there might be a way...
7 Réponses
+ 3
The Python playground is quite special. Normally it's not possible to display images in command line console, but the Sololearn app cannot handle popup windows and GUI applications. The Python playground is a hack solution to enrich the data science and ML courses with more visual content. Typically this activity would be done in an interactive notebook environment such as Jupyter.
But the java playground did not get the exact same capabilities. There is no way to display graphics and images. In Java you would normally build a Swing or JavaFX application where these binary images can be displayed natively.
+ 2
Perhaps sololearn does not support it . Anyway moderators will tell you about it.
+ 2
awt doesn't works in Sololearn.
+ 1
A͢J I tried many ways to open it but i was able to get base64 only and about its supported or not I think why it's biased to other shell language.
Maybe I should give it as feedback
0
Hasnain [ACTIVE CHALLENGER] I found we can open image but the problem is it gives the base64 code😥
0
Thanks for answering its quite obvious I read the way n yeah there's no way to display images in Java console