Skip to content
Snippets Groups Projects
Commit 8a0ffacb authored by Sorrel Harriet's avatar Sorrel Harriet
Browse files

updating splash example

parent 92d5259d
No related merge requests found
#!/usr/bin/env python
import random
images = ["image_1","image_2","image_3","image_4"]
i = random.randint(0,len(images))
i = random.randint(0,len(images)-1)
print("Content-Type: text/html\n")
print("""<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello Caflucks</title>
</head>
<body>
<h1>Welcome to Catflucks</h1>
<p>You are viewing {}</p>
</body>
</html>""".format(images[i]))
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello Caflucks</title>
</head>
<body>
<h1>Welcome to Catflucks</h1>
<p>You are viewing {}</p>
</body>
</html>""".format(images[i]))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment