Monday, September 19, 2022

Input type = number, remove the arrow at the end

Input type = number, remove the arrow at the end

Example:

Without class

With class

Online status when working from home !! with Python Script

Run this program and your cursor will move regularly enough to keep your online status when working from home!



//install PIP, you need to type into the terminal

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

pip --version

// Is used to control the mouse and keyboard.

pip install pyautogui


//Code to move mouse every 2 second of sleep.. moveRel(x,y) -- move by pixel

import pyautogui;

import time;


while True:

    pyautogui.moveRel(0, 10)

    time.sleep(2)