Answer the question
In order to leave comments, you need to log in
Made a website with python, and how do I open a local CGI server image from the website?
I made a website according to this manual manual .
Here is the code and it works. The link to the image is working, how can I make the image load? I want to make a button, and this image was loaded by this button. Or the image loaded immediately after opening the .py from the site.
print("Content-type: text/html")
print()
print("<h1>Hello world!</h1>")
print('<a href="/image/image.jpg">картинка</a>')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question