#!/usr/local3/coins/linux/bin/python3 # -*- coding: utf-8 -*- # cgi-hello-python.cgi -- 簡単な CGI のプログラム (Pyton版) # ~yas/syspro/www/cgi-hello-python.cgi def main(): print_header() print_content() exit(0) def print_header(): print("Content-Type: text/html") print("") def print_content(): print("") print("hello.") print("") main()