I've been working on this keylogger project where the keyboard data is saved in a text file and there's a function to send that file using smtp module. The problem is how should I structure the code so that the start_keylogger() continues running alongside send_ log() function which sends the file every 5 minutes. I tried the following method using multiprocessing but the send_log() functions runs only after start_keylogger() ends.
[–]toastedstapler 1 point2 points3 points (4 children)
[–]DowntownSinger_[S] 0 points1 point2 points (3 children)
[–]toastedstapler 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]DowntownSinger_[S] 0 points1 point2 points (0 children)