Ask coding questions

← Back to all posts
Displaying an Image...
EricBromstead (21)

So this is what I have been trying...
Just as a test I used Garfield
But I get an Error:
Traceback (most recent call last):
File "python", line 2, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'DarGarf.png'

pyelias (2648)

It's a typo: /DaGarf.png vs DarGarf.png (make sure to remove the /).
Also, I don't think support displaying images in the console.

EricBromstead (21)

@pyelias Oh so images? Darn. Welp whatever thank anyway :)

EricBromstead (21)

OK I fix it so I dont get an error now but i get this printed instead:
<IPython.core.display.Image object>

JoshDaBosh (82)

@EricBromstead i don't believe supports displaying images, as pyelias also said.