Ask coding questions

← Back to all posts
How do i add a visual image to my code in python?
stubaduble (13)

i have download the image to the repl and it still does not want to make it exist..
please help me.

Answered by CodeLongAndPros (1470) [earned 5 cycles]
View Answer
Commentshotnewtop
CodeLongAndPros (1470)

@stubaduble You are working in a terminal. They only print out text/ASCII. Some more modern programs can print blocky images using colored Unicode blocks. curl -s -L http://bit.ly/10hA8iC | bash for an example.

If you are using Tkinter or PyGame, you can use images.

stubaduble (13)

I think i know what you man now...
Thanks @CodeLongAndPros

CodeLongAndPros (1470)

How do i add a visual image to my code in python?

Are you using a framework or something? *.jp?g *.png won't work in a unicode terminal.