Small Python script that’ll keep you “online” all day

This is dedicated to my friend Megan, but anyone feel free to use it if you find it useful!

Iman Kassim
7 min readAug 6, 2022

--

Working from home can be very stressful, and it is hard not to feel watched when there are many markers that show your constant availability. But there’s an easy way this can be avoided — by writing a small script that will move your mouse slightly every few seconds (or whatever you want to set it to!)

This guide is for beginners so I’ll go through everything, including installation. For this we would want to install Visual Studio Code — this is known as an IDE (integrated development environment), and is basically where we will write this code.

Step 1 — Installing Visual Studio Code:

  1. Google “Visual Studio Code” and click on the download link.

2. Select the installer you need — I’m using a Windows computer so I’ll click Windows.

3. Save the installer anywhere and click it to start the installation, and go through the steps following the examples below.

--

--

Iman Kassim
Iman Kassim

Written by Iman Kassim

Data Science, Social Media, Music fanatic

Responses (41)