這對我來說沒有意義,因爲代碼非常簡單,文檔中存在「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