HTML with the word 'Blank.' in index.html. Yep. CGI is really easy. Here's a simple example: #!/usr/bin/python3.6
print("Content-Type: text/html\n\n")
print("HelioHost rules!")
The first line says which language the rest of the code is written in. The second line sets the headers so a browser can understand the data that is being sent. The third line is just a simple print comnmand, but since this is cgi the output goes to a browser instead of the command line. If you're curious here's the actual code for https://krydos.heliohost.org/cgi-bin/modules36.py
#!/usr/bin/python3.6
print("Content-Type: text/html\n\n")
import pip
installed_packages = pip.get_installed_distributions()
installed_packages_list = sorted(["<td>%s</td><td>%s</td>" % (i.key, i.version) for i in installed_packages])
print("Tommy /usr/bin/python3.6 installed modules:<br><br>")
print("<table><tr><th align='left'>Module</th><th align='left'>Version</th></tr>")
print("</tr><tr>".join(installed_packages_list))
print("</tr></table>")
It just shows all of the modules that have been installed with pip. It doesn't show the default modules that came with python though.