Python Project
Python Project – Online Quiz Management – Adding Quizzes
Now it’s time to add some functionality to add quizzes. So first we have to make a MySQL table to hold the main quiz text: (view structure after the table is created) Now this is where the questions for the quiz will be entered. Please note, that this is a “parent/child” type database setup, the […]
Python Project – Login Form
This login form is probably going to be used for many projects, so it’s in a post all by itself. #!/usr/bin/python print “Content-type: text/html\n\n” print “<html>” print “<head>” print “<title>Login To Online Quiz</title>” print “</head>” print “<body>” #GLOBAL VARIABLES USERNAME = ‘username’ PASSWORD = ‘password’ DB = ‘mysql-database’ import MySQLdb import os #import requests #this […]