Ask coding questions

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

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'

EricBromstead (12)

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

JoshDaBosh (76)

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

pyelias (1037)

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 (12)

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