chiark / gitweb /
adding cgiFiles to repo
[familyTree.git] / familyTree / check-true.py
diff --git a/familyTree/check-true.py b/familyTree/check-true.py
new file mode 100755 (executable)
index 0000000..11890ac
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/python
+
+import sys
+import re
+sys.path.append('/home/naath/familyTreeProject/cgiFiles')
+import askQuestion as aQ
+import graphQuestions as gQ
+import printUtils as pU
+import englishUtils as eU
+import everyPage
+import cgi
+
+#cgitb.enable()
+[conn,form]=everyPage.top()
+
+text = aQ.check_true('<br>')
+
+everyPage.good(text)
+everyPage.bottom()
+file = '/home/naath/public-html/check-true.html'
+everyPage.to_file(file)
+