inputs = cgi.FieldStorage()
print('Content-type: text/html')
print() 
print('<title> MyPythonWebpage </title>')
print('Whatever you would like to print goes here, preferably in between tags to make it look nice')
Как запустить скрипт Python на веб-странице