aboutsummaryrefslogtreecommitdiff
path: root/www/html/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/html/test.py')
-rwxr-xr-xwww/html/test.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/html/test.py b/www/html/test.py
new file mode 100755
index 0000000..6ff289c
--- /dev/null
+++ b/www/html/test.py
@@ -0,0 +1,11 @@
+#!/usr/bin/python3
+# -*- coding: utf-8 -*-
+
+import mod_python
+import fonctions
+
+def index(req):
+ req.content_type="text/html"
+ req.write(fonctions.baseHTML("Test","""
+This is a test page.</p>
+"""))