摘要:
在mkdir -p cgi/cgi-bin下面新建time.py#!/usr/bin/env python# -*- coding utf8 -*- import cgitbcgitb.enable()import timeprint "Content-type: text/html" print print time.strftime('%Y-%m-%d %X', time.localtime() )cgi 服务器建立cd cgipython -m CGIHTTPServer到 firefox 中http://127.0.0.1:8000/cgi-bin/ 阅读全文
posted @ 2013-04-04 18:40
Me.thinking
阅读(365)
评论(1)
推荐(0)
浙公网安备 33010602011771号