Your AI powered learning assistant

Python : How to make viruses with python (3 easy virus)

Intro

00:00:00

In this video, you will learn three easy and cool Python viruses. This tutorial is perfect for beginners who are tired of watching tutorials and want to do something exciting. It's also great for those who are running out of ideas.

Rotating the display

00:00:25

This chapter demonstrates how to continuously rotate the display using Python. The code requires two libraries: 'time' and 'rotate the screen'. After installing these libraries, we import them and get the primary display value. By specifying an angle (e.g., 90 degrees), we can rotate the display accordingly. To make it more annoying, a while loop is used with a list of angles to continuously rotate in different directions.

Minimize windows

00:02:44

In this chapter, we learn how to use the piyo library to minimize windows. We define a while loop and randomly move and click the mouse cursor on the screen. Additionally, we add a hotkey or shortcut that minimizes any running window.

Format driver

00:04:04

To format a drive, you can use the following code: import os; try os.system('del /f /q /s h'). Replace 'h' with your desired drive letter. Be cautious when running this code as it will delete all data on the selected drive.