From c1803a7603135e2c148d89d5e05596f5d251842a Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 31 Jan 2018 18:27:58 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cgi-bin/whisper.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cgi-bin/whisper.py (limited to 'cgi-bin/whisper.py') diff --git a/cgi-bin/whisper.py b/cgi-bin/whisper.py new file mode 100644 index 0000000..0372b03 --- /dev/null +++ b/cgi-bin/whisper.py @@ -0,0 +1,20 @@ +import path +from path import Path +import connect +from connect import Connect + +class Whisper(object): + def build(whisperId): + conn = Connect.produce() + cursor = conn.cursor() + + whisper_file = open(Path.template("whisper.html"), 'r', encoding="utf8") + whisper_templ = whisper_file.read() + whisper_file.close() + + + + conn.close() + + + -- cgit v1.1-26-g67d0