Today we learn how a simple virus in Python works 🙂
The main parts of a virus in general is: 1) searching files to be infected 2) infect the files in the to-be-infected list 3) execution of infection (this one is triggered by date)
The virus is harmless. It just copy the body of itself to all .py files in current directory 🙂
Kids are very serious when they are given an interesting topic like this 😛
The purpose of teaching this to kids is to make them aware that coding should not be used for bad things because the effect can be very destructive.
Next week we will be working on the anti-virus 😉