ProCodeCG Kids Programming Class 19 Sept 2015 – A Simple Virus in Python


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 😉


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s