Here’s an example of a basic Python code to search for computer viruses on a Windows computer. It can easily detect computer virus in any system.