From 06ad4b73d54beb6f81d0b43d49f2a0701c87fcfb Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Synck Date: Sun, 1 Mar 2020 14:18:05 +0100 Subject: web update --- web/test.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 web/test.py (limited to 'web/test.py') diff --git a/web/test.py b/web/test.py new file mode 100644 index 0000000..4da1d58 --- /dev/null +++ b/web/test.py @@ -0,0 +1,9 @@ +#!/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.")) -- cgit v1.2.3