这对我来说没有意义,因为代码非常简单,文档中存在“FieldStorage”。“模块”对象没有属性“FieldStorage”
#!/usr/bin/env python
print 'Content-type: text/html'
print
import cgi
def Main():
form = cgi.FieldStorage()
print '<html>'
print '<body>'
print 'ola'
print '</body>'
print '</html>'
if __name__ == '__main__':
Main()
你的问题到底是什么? – soulseekah 2010-11-10 11:37:59
http://docs.python.org/library/cgi.html – soulseekah 2010-11-10 11:39:06