Forums

display an image on the main Pythonanywhere interpreter screen

Hi,

Excuse my ignorance here - Just recently started with python.

I am trying to display an image on the main console screen of the pythonanywhere interpreter console screen.

First question, is this even possible, secondly how?

I have tried working this so far but didn't work:

from PIL import Image image = Image.open('/home/test/test.png') image.show()

Any help would be much appreciated!

Consoles do not support showing images. See http://help.pythonanywhere.com/pages/MatplotLibGraphs/ for how to do it with matplotlib, but the principle is the same.

how can I show my website image visible?

Could you provide us with more details on what exactly is your "website image"? What you were expecting, what did you get instead?