I Have a TestServer, that asking questions to its client then collects answers. How to encode test's questions in txt file?(.py) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I Have a TestServer, that asking questions to its client then collects answers. How to encode test's questions in txt file?(.py)

I have an idea for it's solution: [some_unique_control_symbols]bytes_at_test[another_unique_symbols]quest_number[another_control_symbols]Test's TEXT[another_control_symbols]Right_Answer;Wrong_Answers[control_symbols]... another qwestion, ..., [ending_control_symbols]. Maybe there is a better way? Testing has made in python3 on PyQt5 (and there's import socket, import threading), but I need your advise for algorhythm of encoding , not the source code. Have you got some ideas? Unique symbols: $$^*** etc.

27th May 2018, 8:23 AM
dimon2101
dimon2101 - avatar
1 Answer
+ 1
Maybe tets.txt need to be encrypted?
27th May 2018, 8:25 AM
dimon2101
dimon2101 - avatar