Actually i want to insert an image in a web application which uses Python as server side scripting language. I am using Python 2.7 version in windows platform. I have written a simple script to insert an image in python language.
print "<img src='image.png'>"
Even in this script i am not getting any errors or warnings and the page is getting executed successfully but the image is not getting displayed. Also the specified image file exists in the same folder where the python file exists and even if we provide an absolute path of the image in src attribute of img tag Shall i import any extra packages? if yes, then please mention them. Please anybody suggest a solution to this problem.