cipcip
Basic Pleskian
I know this thread is really really old, just posting for future people that will Google this thread...
You are not getting print('hello world') rendered because that is not the way to do it in a browser. print('Hello world') will only work in a console.
To work in a browser, one must use this in their code:
You are not getting print('hello world') rendered because that is not the way to do it in a browser. print('Hello world') will only work in a console.
To work in a browser, one must use this in their code:
Code:
#!/usr/bin/env python
print "Content-Type: text/html"
print
print """\
<html>
<head>
<title>Python - Hello World</title>
</head>
<body>
Hello World
</body>
</html>
"""