hi
At present i am working with python cgi module.
Images i want to display on my browser page.
i am unable to do that...
[code]
#!c:\Python24\python.exe
# Fig 35.16: fig35_16.py
# Program to display CGI environment variables
import os
import cgi
print "Content-type: text/html"
print
print """<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">"""
print """
<html>
<head><title>Environment Variables</title></head>
<body>
hello
<div id="banner"><img src="images/img04.jpg" alt="" width="960" height="147" /></div>
"""
print """</body></html>"""
pl help me.
Thanks
Srilu
Python CGI programming with CSSPython CGI programming with CSS, images
Page 1 of 1
1 Replies - 5982 Views - Last Post: 27 November 2007 - 06:28 PM
Replies To: Python CGI programming with CSS
#2
Re: Python CGI programming with CSS
Posted 27 November 2007 - 06:28 PM
srilu, on 19 Nov, 2007 - 02:48 AM, said:
hi
At present i am working with python cgi module.
Images i want to display on my browser page.
i am unable to do that...
[code]
#!c:\Python24\python.exe
# Fig 35.16: fig35_16.py
# Program to display CGI environment variables
import os
import cgi
print "Content-type: text/html"
print
print """<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">"""
print """
<html>
<head><title>Environment Variables</title></head>
<body>
hello
<div id="banner"><img src="images/img04.jpg" alt="" width="960" height="147" /></div>
"""
print """</body></html>"""
pl help me.
Thanks
Srilu
At present i am working with python cgi module.
Images i want to display on my browser page.
i am unable to do that...
[code]
#!c:\Python24\python.exe
# Fig 35.16: fig35_16.py
# Program to display CGI environment variables
import os
import cgi
print "Content-type: text/html"
print """<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">"""
print """
<html>
<head><title>Environment Variables</title></head>
<body>
hello
<div id="banner"><img src="images/img04.jpg" alt="" width="960" height="147" /></div>
"""
print """</body></html>"""
pl help me.
Thanks
Srilu
Django
Page 1 of 1