aboutsummaryrefslogtreecommitdiff
path: root/www/html/test.py
diff options
context:
space:
mode:
authorclyhtsuriva <clyhtsuriva@gmail.com>2020-03-29 19:53:38 +0200
committerclyhtsuriva <clyhtsuriva@gmail.com>2020-03-29 19:53:38 +0200
commitdc539fda0108dc724693fbdd7599bd86980f0de0 (patch)
tree46765165f34ac356cf0ec1aafeef29f9e8a77c66 /www/html/test.py
parent8e56aac1e0af4c724f2e6d26746217e1f1812909 (diff)
some web changes
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>
+"""))