Python CGI - Hello world: Porovnání verzí

Z GeoWikiCZ
m (Python CGI - Hello world)
 
m (kategorie)
Řádek 13: Řádek 13:
main()
main()
</pre>
</pre>
[[Category:Programování]]
[[Kategorie:Python]]

Verze z 23. 4. 2007, 19:55

#!/usr/bin/python

import cgi

def main():
    print "Content-type: text/html"
    print

    print "Hello world!"


main()