This is a simple words quiz web app to help you learn and practice spelling a words given its Chinese meaning.
The code is written in Python 3.6.1 & Flask:
-
./words_web.py
the main web app.
-
./words.py
the file for object classes definition.
-
./lists
the folder to host source words list files in plain txt format with a .txt suffix.
-
./static
the folder to host background images, stylesheets and some static test pages
-
./ templates
the folder to host flask templates for file lists page, presentation page and test pages
-
to start the server:
python words_web.py
the app is using Flask default configuration, and you can access the app by http://localhost:5000
-
words files was located at ./lists folder. a wors list file consists multi-lines of wors with it's English and Chinese meaning.
eg: banana 香蕉
-
flash cards are for you to learn about each word
-
spelling quiz is for you to practise each word' spelling