mixing high school tests
Project description
mixer09122022
mixer2 is the version that works.
mixer3 is for refactoring attempts.
mixer2
test_many.py is whether the program lives.
it inputs de_chua_tron_091122.html and output N (4) tests de_da_tron_{id}.html with all the answers written in cau_tra_loi.docx
notes
- libre to save docx as html (not export) (to preserve all the images of equations and subscripts)
- python to mix and output the tests (in html) with its answers (
docx) - libre writer to save html as docx, then export to pdf to preserve all the images
- input needs to be formatted in a particular way (as in
de_chua_tron_091122.docx
code logic
- input
htmland read into aBeautifulSoupdocument - get the questions into an array.
shufflethe array N times - traverse the question array with a
forloop: process the question along the way (add bold title, pack images, shuffle answers) - output to 4
htmlfiles, output the answers to one file (with timestamp and testID)
further consideration
questions with answers are tabulated or not. and are html tags which can be stored in a database for further web app development.
test
test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aya-mixer-1.0.0.tar.gz.
File metadata
- Download URL: aya-mixer-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88b6ec75368139bb8ffe80405bde778e9efff040fa565fcd0d397ab08d862d16
|
|
| MD5 |
30e43446520477368ea354c51b652dad
|
|
| BLAKE2b-256 |
c7e6d31e89f72852b1ac393ebfa5e404ef1d4222670e14e805b9901fc4364e0d
|
File details
Details for the file aya_mixer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: aya_mixer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c1810f3a44a41cc036834d8154068abf925a7bc26352cc52f6dfca596ecf4d0
|
|
| MD5 |
d6f4eee1bed50cfc0e2dce179ac000c1
|
|
| BLAKE2b-256 |
552742c94fc97ac036ce046ccb33efa9b61197d8f67472fab99c6dfdc6ac410b
|